Problem: nginx k8s deployment missing parameters (#2102)

This commit is contained in:
Shahbaz Nazir 2018-02-26 19:11:28 +01:00 committed by GitHub
parent d0874ccf9a
commit 582025ba3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -90,6 +90,11 @@ spec:
configMapKeyRef:
name: vars
key: authorization-mode
- name: SECRET_ACCESS_TOKEN
valueFrom:
secretKeyRef:
name: nginx-secret-header
key: secret-token
ports:
# return a pretty error message on port 80, since we are expecting
# HTTPS traffic.

View File

@ -261,6 +261,10 @@ data:
# bdb-instance-name is the name of the BigchainDB instance in this cluster.
bdb-instance-name: "${bdb_instance_name}"
# openresty-instance-name is the name of the OpenResty instance in this
# cluster.
openresty-instance-name: "openresty-instance-0"
# ngx-mdb-instance-name is the FQDN of the MongoDB instance in this
# Kubernetes cluster.
ngx-mdb-instance-name: "${mdb_instance_name}.default.svc.cluster.local"
@ -269,6 +273,10 @@ data:
# Kubernetes cluster.
ngx-bdb-instance-name: "${bdb_instance_name}.default.svc.cluster.local"
# ngx-openresty-instance-name is the FQDN of the OpenResty instance in this
# Kubernetes cluster.
ngx-openresty-instance-name: "openresty-instance-0.default.svc.cluster.local"
# mongodb-backend-port is the port on which MongoDB is actually
# available/listening for requests.
mongodb-backend-port: "27017"
@ -386,7 +394,7 @@ data:
# public key of the tendemrint node in this cluster.
tm-pub-key-access: "9986"
---
---
apiVersion: v1
kind: ConfigMap
metadata: