[SDNC] wrong configuration in mountpoint-registrar.properties 59/114059/1
authorAlexander Dehn <alexander.dehn@highstreet-technologies.com>
Tue, 20 Oct 2020 15:57:42 +0000 (15:57 +0000)
committerAlexander Dehn <alexander.dehn@highstreet-technologies.com>
Tue, 20 Oct 2020 15:57:42 +0000 (15:57 +0000)
add odl secrets in update-config init container

Issue-ID: OOM-2551
Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com>
Change-Id: I0f3524f68149b23f4679d7dec979aa429db48ca2

kubernetes/sdnc/templates/statefulset.yaml

index 488c050..137d94f 100644 (file)
@@ -62,6 +62,11 @@ spec:
           {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-secret" "key" "login") | indent 10 }}
         - name: SDNC_DB_PASSWORD
           {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-secret" "key" "password") | indent 10 }}
+        - name: ODL_ADMIN_USERNAME
+          {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "odl-creds" "key" "login") | indent 10 }}
+        - name: ODL_ADMIN_PASSWORD
+          {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "odl-creds" "key" "password") | indent 10 }}
+
         volumeMounts:
         - mountPath: /config-input
           name: config-input