diff options
author | BorislavG <Borislav.Glozman@amdocs.com> | 2018-05-02 14:06:08 +0000 |
---|---|---|
committer | BorislavG <Borislav.Glozman@amdocs.com> | 2018-05-02 14:06:08 +0000 |
commit | 8b31f6d870a3c2822d15e83de00d025dfd245ebe (patch) | |
tree | 693ae35cf2c7852cff23c475752853bb2bffa666 /kubernetes | |
parent | a14029b43d7ba7091119331988be8e40eede7993 (diff) |
Fix appc failing to deploy with helm 2.7.2
Change-Id: I89b90f5da3e9ee9da545b21cc01b4ac392318a21
Issue-ID: OOM-1033
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/appc/templates/statefulset.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
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 }} |