aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/a1policymanagement/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-21 22:01:15 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-21 22:01:15 +0100
commitd4a6afd388cd08d9c5aae5c6a23b2bdbbd1de019 (patch)
tree9ea7ccb77f2a18a646a31f6a9c4f0d4b54f58064 /kubernetes/a1policymanagement/templates
parent2b2aa11021114438591d184af19fde6bbf06950a (diff)
[A1Policy] Uses new tpls for repos / images
This commit makes A1 Policy Management chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I862bb425b05e152c669f8ff6ecbe34c96af4f6e7
Diffstat (limited to 'kubernetes/a1policymanagement/templates')
-rw-r--r--kubernetes/a1policymanagement/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/a1policymanagement/templates/deployment.yaml b/kubernetes/a1policymanagement/templates/deployment.yaml
index 1a2866b981..ce2e2732e6 100644
--- a/kubernetes/a1policymanagement/templates/deployment.yaml
+++ b/kubernetes/a1policymanagement/templates/deployment.yaml
@@ -29,7 +29,7 @@ spec:
spec:
initContainers:
- name: {{ include "common.name" . }}-bootstrap-config
- image: "{{ .Values.global.envsubstImage }}"
+ image: {{ include "repositoryGenerator.image.envsubst" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- sh
@@ -71,7 +71,7 @@ spec:
- mountPath: /config
name: config
- name: {{ include "common.name" . }}
- image: {{ include "common.repository" . }}/{{ .Values.image }}
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports: {{ include "common.containerPorts" . | nindent 10 }}
readinessProbe: