diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2018-09-20 16:49:16 -0400 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2018-09-21 08:30:01 -0400 |
commit | 43c67e08c6ea24689a6d06a56b601a827a6e912e (patch) | |
tree | e3084eb865d0186552aad774572cf5d4c6644f9a /kubernetes/common/controller-blueprints/templates | |
parent | 37cae2542ba41720da3179f5955401fc0ed66184 (diff) |
Add missing properties files to SDNC
Missing netbox and blueprint-rest-adaptor
Change-Id: Ifa4f2095190718ae8dc3412eac99ae242978c97e
Issue-ID: CCSDK-589
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'kubernetes/common/controller-blueprints/templates')
-rw-r--r-- | kubernetes/common/controller-blueprints/templates/deployment.yaml | 10 | ||||
-rw-r--r-- | kubernetes/common/controller-blueprints/templates/secrets.yaml | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/kubernetes/common/controller-blueprints/templates/deployment.yaml b/kubernetes/common/controller-blueprints/templates/deployment.yaml index fc7329cf9f..18fb16561a 100644 --- a/kubernetes/common/controller-blueprints/templates/deployment.yaml +++ b/kubernetes/common/controller-blueprints/templates/deployment.yaml @@ -81,6 +81,16 @@ spec: secretKeyRef: name: {{ template "common.fullname" . }} key: db-root-password + - name: MS_USER + valueFrom: + secretKeyRef: + name: {{ template "common.fullname" . }} + key: restUser + - name: MS_PASSWORD + valueFrom: + secretKeyRef: + name: {{ template "common.fullname" . }} + key: restPassword - name: INIT_DATA_LOAD value: {{ .Values.config.initDataLoad | quote }} - name: STICKYSELECTORKEY diff --git a/kubernetes/common/controller-blueprints/templates/secrets.yaml b/kubernetes/common/controller-blueprints/templates/secrets.yaml index 4b11188429..b4ab161809 100644 --- a/kubernetes/common/controller-blueprints/templates/secrets.yaml +++ b/kubernetes/common/controller-blueprints/templates/secrets.yaml @@ -25,3 +25,5 @@ metadata: type: Opaque data: db-root-password: {{ index .Values "mariadb-galera" "config" "mariadbRootPassword" | b64enc | quote }} + restUser: {{ .Values.config.restUser | b64enc | quote }} + restPassword: {{ .Values.config.restPassword | b64enc | quote }} |