summaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-04-19 07:38:13 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-19 07:38:13 +0000
commit66f4cdf7691aa8ffb8d33161a9b42b29b8e359e0 (patch)
tree244412f00666ec000b70fc53e84ed21ef06aef80 /kubernetes/cps/templates/deployment.yaml
parent11c1c60159dbfc405bc0584351193b6818fecbd3 (diff)
parentca97f76c38abf184c60819ce3d9ad39919f6ff61 (diff)
Merge "[CPS] Bump CPS versions for RC1 bug fixes" into honolulu
Diffstat (limited to 'kubernetes/cps/templates/deployment.yaml')
-rwxr-xr-xkubernetes/cps/templates/deployment.yaml9
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 }}