summaryrefslogtreecommitdiffstats
path: root/kubernetes/helm/starters/onap-app/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-21 22:40:19 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-21 22:40:19 +0100
commit6027f260b4d7e161c5b6866c285a451bc253ccc1 (patch)
tree4a0f247e0fe8cbf3a46d94b389295b7e49a076b1 /kubernetes/helm/starters/onap-app/templates
parent2b2aa11021114438591d184af19fde6bbf06950a (diff)
[HELM] Uses new tpls for repos / images
This commit makes Helm example 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: I1561fa6626687cf841c278231f2caab9cd99d46b
Diffstat (limited to 'kubernetes/helm/starters/onap-app/templates')
-rw-r--r--kubernetes/helm/starters/onap-app/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/helm/starters/onap-app/templates/deployment.yaml b/kubernetes/helm/starters/onap-app/templates/deployment.yaml
index b409781c5e..fc76c1ff6d 100644
--- a/kubernetes/helm/starters/onap-app/templates/deployment.yaml
+++ b/kubernetes/helm/starters/onap-app/templates/deployment.yaml
@@ -43,12 +43,12 @@ 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
containers:
- name: {{ include "common.name" . }}
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports:
- containerPort: {{ .Values.service.internalPort }}