From 8b31f6d870a3c2822d15e83de00d025dfd245ebe Mon Sep 17 00:00:00 2001 From: BorislavG Date: Wed, 2 May 2018 14:06:08 +0000 Subject: Fix appc failing to deploy with helm 2.7.2 Change-Id: I89b90f5da3e9ee9da545b21cc01b4ac392318a21 Issue-ID: OOM-1033 Signed-off-by: BorislavG --- kubernetes/appc/templates/statefulset.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kubernetes/appc/templates') diff --git a/kubernetes/appc/templates/statefulset.yaml b/kubernetes/appc/templates/statefulset.yaml index 1eaae73175..e81c50d27f 100644 --- a/kubernetes/appc/templates/statefulset.yaml +++ b/kubernetes/appc/templates/statefulset.yaml @@ -18,6 +18,8 @@ spec: app: {{ include "common.name" . }} release: {{ .Release.Name }} spec: + imagePullSecrets: + - name: "{{ include "common.namespace" . }}-docker-registry-key" initContainers: - command: - /root/ready.py @@ -184,10 +186,10 @@ spec: configMap: name: {{ include "common.fullname" . }}-onap-sdnc-bin defaultMode: 0755 -#{{ if not .Values.persistence.enabled }} +{{ if not .Values.persistence.enabled }} - name: {{ include "common.fullname" . }}-data emptyDir: {} -#{{ else }} +{{ else }} volumeClaimTemplates: - metadata: name: {{ include "common.fullname" . }}-data @@ -199,6 +201,4 @@ spec: resources: requests: storage: {{ .Values.persistence.size }} -#{{ end }} - imagePullSecrets: - - name: "{{ include "common.namespace" . }}-docker-registry-key" +{{ end }} -- cgit 1.2.3-korg