Fix consul images repo 61/46361/2
authorBorislavG <Borislav.Glozman@amdocs.com>
Mon, 7 May 2018 09:02:35 +0000 (09:02 +0000)
committerBorislav Glozman <Borislav.Glozman@amdocs.com>
Tue, 8 May 2018 12:42:53 +0000 (12:42 +0000)
Change-Id: Idb0f1e99dc3023958c6e37355a4c7aaee8b25a17
Issue-ID: OOM-1050
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
kubernetes/consul/charts/consul-server/templates/deployment.yaml
kubernetes/consul/templates/deployment.yaml
kubernetes/consul/values.yaml

index 12403e7..8272d3c 100644 (file)
@@ -34,6 +34,8 @@ spec:
         release: {{ .Release.Name }}
       name: {{ include "common.name" . }}
     spec:
+      imagePullSecrets:
+      - name: "{{ include "common.namespace" . }}-docker-registry-key"
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         command: ["/usr/local/bin/docker-entrypoint.sh"]
index 646922b..8fd09b7 100644 (file)
@@ -34,6 +34,8 @@ spec:
         release: {{ .Release.Name }}
       name: {{ include "common.name" . }}
     spec:
+      imagePullSecrets:
+      - name: "{{ include "common.namespace" . }}-docker-registry-key"
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         command:
index 6ff0390..0b5f7fe 100644 (file)
@@ -26,8 +26,8 @@ global:
 # Application configuration defaults.
 #################################################################
 # application image
-repository: oomk8s
-image: consul:1.0.0
+repository: docker.io
+image: oomk8s/consul:1.0.0
 pullPolicy: Always
 
 #subchart name