summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-distribution/templates
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-30 09:17:45 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-30 09:17:45 +0000
commitcfe8a79535c8972179638be2ed8bbc00210dd5dc (patch)
tree9113fb725cee208ba85e0c4d0f02290080d969be /kubernetes/policy/components/policy-distribution/templates
parent6f1cdc1aee56e11d8c05e569e5f5f31351b5fb1e (diff)
parent7c8c6864e33d0296194546ff626eb64b99e7cff8 (diff)
Merge "[POLICY] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/policy/components/policy-distribution/templates')
-rwxr-xr-xkubernetes/policy/components/policy-distribution/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/policy/components/policy-distribution/templates/deployment.yaml b/kubernetes/policy/components/policy-distribution/templates/deployment.yaml
index 8dd06e8924..0f185fc735 100755
--- a/kubernetes/policy/components/policy-distribution/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-distribution/templates/deployment.yaml
@@ -67,13 +67,13 @@ spec:
name: distributionconfig-input
- mountPath: /config
name: distributionconfig
- image: "{{ .Values.global.envsubstImage }}"
+ image: {{ include "repositoryGenerator.image.envsubst" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-update-config
{{ include "common.certInitializer.initContainer" . | indent 6 }}
containers:
- name: {{ include "common.name" . }}
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
{{- if .Values.global.aafEnabled }}
command: ["bash","-c"]