Commit f1c3a53c authored by allaVolkov's avatar allaVolkov Committed by Kubernetes Prow Robot

[stable/influxdb] Add support for imagePullSecrets (#15159) (#16005)

parent 91458be3
apiVersion: v1 apiVersion: v1
name: influxdb name: influxdb
version: 1.3.0 version: 1.3.1
appVersion: 1.7.6 appVersion: 1.7.6
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
......
...@@ -15,6 +15,12 @@ spec: ...@@ -15,6 +15,12 @@ spec:
app: {{ template "influxdb.fullname" . }} app: {{ template "influxdb.fullname" . }}
release: "{{ .Release.Name }}" release: "{{ .Release.Name }}"
spec: spec:
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end}}
{{- end }}
containers: containers:
- name: {{ template "influxdb.fullname" . }} - name: {{ template "influxdb.fullname" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
......
...@@ -4,6 +4,9 @@ image: ...@@ -4,6 +4,9 @@ image:
repository: "influxdb" repository: "influxdb"
tag: "1.7.6-alpine" tag: "1.7.6-alpine"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
## If specified, use these secrets to access the images
# pullSecrets:
# - registry-secret
## Specify a service type ## Specify a service type
## NodePort is default ## NodePort is default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment