diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-04-16 07:42:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-16 07:42:27 +0000 |
commit | 497f69fa89495172201c84c5fadc1066e0e56b72 (patch) | |
tree | d6e0d1af5427d475c071c865cc5f9af4118231e2 /kubernetes/cps/templates | |
parent | b30975e0174abb949a8e957d7b2ac5ccec1417f5 (diff) | |
parent | f9908a411572915212746ea4d17d385ed23d4dae (diff) |
Merge "[CPS] Bump CPS versions for RC1 bug fixes"
Diffstat (limited to 'kubernetes/cps/templates')
-rwxr-xr-x | kubernetes/cps/templates/deployment.yaml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kubernetes/cps/templates/deployment.yaml b/kubernetes/cps/templates/deployment.yaml index 59062cc0f8..861782a0b9 100755 --- a/kubernetes/cps/templates/deployment.yaml +++ b/kubernetes/cps/templates/deployment.yaml @@ -43,6 +43,10 @@ spec: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "pg-user-creds" "key" "password") | indent 12 }} - name: LIQUIBASE_LABELS value: {{ .Values.config.liquibaseLabels }} + - name: CPS_USERNAME + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "app-user-creds" "key" "login") | indent 12 }} + - name: CPS_PASSWORD + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "app-user-creds" "key" "password") | indent 12 }} volumeMounts: - mountPath: /config-input name: init-data-input @@ -70,11 +74,6 @@ spec: path: {{ .Values.readiness.path }} initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} - env: - - name: CPS_USERNAME - {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "app-user-creds" "key" "login") | indent 12 }} - - name: CPS_PASSWORD - {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "app-user-creds" "key" "password") | indent 12 }} resources: {{ include "common.resources" . | nindent 10 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | nindent 12 }} |