[stable/elasticsearch] Adds imagePullSecrets to test image (#21048)

Signed-off-by: Marcos Estevez <marcos.stvz@gmail.com>
This commit is contained in:
Marcos Estévez
2020-03-06 01:17:23 -08:00
committed by GitHub
parent f710f21dd1
commit 416f7bbb47
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: elasticsearch
home: https://www.elastic.co/products/elasticsearch
version: 1.32.3
version: 1.32.4
appVersion: 6.8.6
description: Flexible and powerful open source, distributed real-time search and analytics
engine.
@@ -10,6 +10,12 @@ metadata:
annotations:
"helm.sh/hook": test-success
spec:
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range $pullSecret := .Values.image.pullSecrets }}
- name: {{ $pullSecret }}
{{- end }}
{{- end }}
initContainers:
- name: test-framework
image: "{{ .Values.testFramework.image}}:{{ .Values.testFramework.tag }}"