summaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/components/cps-core/templates/deployment.yaml
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2022-09-22 10:25:37 +0100
committermpriyank <priyank.maheshwari@est.tech>2022-10-14 15:01:17 +0100
commit9a51e07a2164c9be42d9d329559f4d2081b8f3fc (patch)
tree82d48a450893a3dead06407c7af700ad3979c2ab /kubernetes/cps/components/cps-core/templates/deployment.yaml
parent736bf37d0369fd88154f228efa4d94dd37156486 (diff)
[CPS] OOM updates for CPS Repos
- CPS-Core : Added NCMP tag in properties and updated container image from 3.0.1 to 3.1.4 - Fixed env variable missing in cps-core - Added missing kafka topics(ncmp-events and ncmp-async-m2m) - NCMP-DMI-PLUGIN: update container image from 1.1.0 to 1.2.1 - CPS-TEMPORAL: update container image from 1.1.0 to 1.2.0 Issue-ID: CPS-1290 Issue-ID: CPS-1343 Change-Id: Id5b4b6cfac9ddabe2421300e37f10185cee71ed3 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'kubernetes/cps/components/cps-core/templates/deployment.yaml')
-rw-r--r--kubernetes/cps/components/cps-core/templates/deployment.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/kubernetes/cps/components/cps-core/templates/deployment.yaml b/kubernetes/cps/components/cps-core/templates/deployment.yaml
index a247f148a7..1b482f405c 100644
--- a/kubernetes/cps/components/cps-core/templates/deployment.yaml
+++ b/kubernetes/cps/components/cps-core/templates/deployment.yaml
@@ -97,6 +97,24 @@ spec:
env:
- name: SPRING_PROFILES_ACTIVE
value: {{ .Values.config.spring.profile }}
+ - name: DB_USERNAME
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "pg-user-creds" "key" "login") | indent 12 }}
+ - name: DB_PASSWORD
+ {{- 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 }}
+ - name: DMI_USERNAME
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "dmi-plugin-user-creds" "key" "login") | indent 12 }}
+ - name: DMI_PASSWORD
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "dmi-plugin-user-creds" "key" "password") | indent 12 }}
+ {{- if .Values.config.useStrimziKafka }}
+ - name: JAASLOGIN
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cps-kafka-user" "key" "sasl.jaas.config") | indent 12 }}
+ {{- end }}
resources: {{ include "common.resources" . | nindent 10 }}
{{- if .Values.nodeSelector }}
nodeSelector: {{ toYaml .Values.nodeSelector | nindent 12 }}