diff options
author | 2020-11-19 17:25:17 +0100 | |
---|---|---|
committer | 2020-11-21 08:12:49 +0000 | |
commit | 50f9c5d0f00213646759fd784214e66fdae1fdb3 (patch) | |
tree | 7f9e53fa30b96a29616c1a2885033b1abe2d074c /kubernetes/vnfsdk/templates/deployment.yaml | |
parent | 2b2aa11021114438591d184af19fde6bbf06950a (diff) |
[VNFSDK] Uses new tpls for repos / images
This commit makes VNF SDK template to use the new generator for repositories
and images.
Issue-ID: OOM-2364
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ia0607f57fb49fa0bc9fc5c8191358b2b80dfe884
Diffstat (limited to 'kubernetes/vnfsdk/templates/deployment.yaml')
-rw-r--r-- | kubernetes/vnfsdk/templates/deployment.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/vnfsdk/templates/deployment.yaml b/kubernetes/vnfsdk/templates/deployment.yaml index 9baec482c9..7e4ad5bd92 100644 --- a/kubernetes/vnfsdk/templates/deployment.yaml +++ b/kubernetes/vnfsdk/templates/deployment.yaml @@ -51,7 +51,7 @@ spec: name: init-data-input - mountPath: /config name: init-data - image: "{{ .Values.global.envsubstImage }}" + image: {{ include "repositoryGenerator.image.envsubst" . }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }}-update-config @@ -66,11 +66,11 @@ 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: - - image: "{{ include "common.repository" . }}/{{ .Values.image }}" + - image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }} resources: |