aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-pap/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-pap/templates
parent6f1cdc1aee56e11d8c05e569e5f5f31351b5fb1e (diff)
parent7c8c6864e33d0296194546ff626eb64b99e7cff8 (diff)
Merge "[POLICY] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/policy/components/policy-pap/templates')
-rwxr-xr-xkubernetes/policy/components/policy-pap/templates/deployment.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/policy/components/policy-pap/templates/deployment.yaml b/kubernetes/policy/components/policy-pap/templates/deployment.yaml
index 4f90d81b3b..85312bcdfd 100755
--- a/kubernetes/policy/components/policy-pap/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-pap/templates/deployment.yaml
@@ -39,7 +39,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
+ image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
- command:
@@ -69,13 +69,13 @@ spec:
name: papconfig
- mountPath: /config
name: papconfig-processed
- 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"]