diff options
author | BorislavG <Borislav.Glozman@amdocs.com> | 2018-05-07 09:02:35 +0000 |
---|---|---|
committer | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2018-05-08 12:42:53 +0000 |
commit | 339b749f934cb9dc32700e13cb2bb6a9f465d95b (patch) | |
tree | 1de52ec886ef4290b6f62f7db8511430d828f6af /kubernetes | |
parent | 69488f16e417fb9a6392b17af09690a5df068731 (diff) |
Fix consul images repo
Change-Id: Idb0f1e99dc3023958c6e37355a4c7aaee8b25a17
Issue-ID: OOM-1050
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/consul/charts/consul-server/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | kubernetes/consul/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | kubernetes/consul/values.yaml | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/kubernetes/consul/charts/consul-server/templates/deployment.yaml b/kubernetes/consul/charts/consul-server/templates/deployment.yaml index 12403e77c9..8272d3c01a 100644 --- a/kubernetes/consul/charts/consul-server/templates/deployment.yaml +++ b/kubernetes/consul/charts/consul-server/templates/deployment.yaml @@ -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"] diff --git a/kubernetes/consul/templates/deployment.yaml b/kubernetes/consul/templates/deployment.yaml index 646922b30f..8fd09b728e 100644 --- a/kubernetes/consul/templates/deployment.yaml +++ b/kubernetes/consul/templates/deployment.yaml @@ -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: diff --git a/kubernetes/consul/values.yaml b/kubernetes/consul/values.yaml index 6ff0390991..0b5f7fe027 100644 --- a/kubernetes/consul/values.yaml +++ b/kubernetes/consul/values.yaml @@ -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 |