From 2cef564fe7af8a43cb3e9bba77fff91a02fae372 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Mon, 27 Jun 2022 10:08:41 +0000 Subject: [CDS] Add cps-data resourceSourceMapping in application.properties That is needed to send requests to CPS during resource assignement Issue-ID: CCSDK-3699 Signed-off-by: Michal Jagiello Change-Id: I17502aa394709d0e1b4b8a30448df8c6cb4bcfe2 --- .../cds/components/cds-blueprints-processor/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kubernetes/cds/components/cds-blueprints-processor/templates') diff --git a/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml b/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml index d68e900222..1e4f5e10a0 100755 --- a/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml +++ b/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml @@ -118,6 +118,10 @@ spec: fieldPath: metadata.name - name: CLUSTER_CONFIG_FILE value: {{ .Values.config.appConfigDir }}/hazelcast.yaml + - name: CPS_USER + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cps-creds" "key" "login") | indent 12 }} + - name: CPS_PASS_PLAIN + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cps-creds" "key" "password") | indent 12 }} {{ if .Values.useStrimziKafka }} - name: JAAS_PASS value: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cds-kafka-secret" "key" "password") | indent 12 }} -- cgit 1.2.3-korg