aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-api/templates
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-05-05 08:40:13 +0000
committerGerrit Code Review <gerrit@onap.org>2023-05-05 08:40:13 +0000
commit797229eebacfb1ec6b8c8b5cfae4a825d8450050 (patch)
treef0cb1c0b9cad38f6cafba67a2f2459ea0dd597be /kubernetes/policy/components/policy-api/templates
parent2fa018482fd50ac033a3d99b674fa5fdc9d8d290 (diff)
parentef208b0677fca2b5982c5a822c0aec188ffe72d8 (diff)
Merge "[POLICY] Update docker images to latest versions"
Diffstat (limited to 'kubernetes/policy/components/policy-api/templates')
-rwxr-xr-xkubernetes/policy/components/policy-api/templates/deployment.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/policy/components/policy-api/templates/deployment.yaml b/kubernetes/policy/components/policy-api/templates/deployment.yaml
index 580dcdde86..1d7e0498af 100755
--- a/kubernetes/policy/components/policy-api/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-api/templates/deployment.yaml
@@ -12,7 +12,11 @@ spec:
- /app/ready.py
args:
- --job-name
+{{ if not .Values.global.postgres.localCluster }}
- {{ include "common.release" . }}-policy-galera-config
+{{ else }}
+ - {{ include "common.release" . }}-policy-pg-config
+{{ end }}
env:
- name: NAMESPACE
valueFrom:
@@ -101,4 +105,4 @@ spec:
emptyDir:
medium: Memory
imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key" \ No newline at end of file
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"