Unverified Commit 3c10c43f authored by Christoph Kuper's avatar Christoph Kuper Committed by GitHub

Add image pull secret to influxdb2 chart (#482)

* add image pull secret * update app version * update image Co-authored-by: 's avatarChris <christoph.kuper@vector.com>
parent 6fdca6e1
apiVersion: v2 apiVersion: v2
appVersion: 2.2.0 appVersion: 2.3.0
name: influxdb2 name: influxdb2
description: A Helm chart for InfluxDB v2 description: A Helm chart for InfluxDB v2
home: https://www.influxdata.com/products/influxdb/ home: https://www.influxdata.com/products/influxdb/
type: application type: application
version: 2.1.0 version: 2.1.1
maintainers: maintainers:
- name: rawkode - name: rawkode
email: rawkode@influxdata.com email: rawkode@influxdata.com
......
...@@ -44,6 +44,12 @@ spec: ...@@ -44,6 +44,12 @@ spec:
{{- if .Values.volumes }} {{- if .Values.volumes }}
{{- toYaml .Values.volumes | nindent 8 }} {{- toYaml .Values.volumes | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end}}
{{- end }}
serviceAccountName: {{ include "influxdb.serviceAccountName" . }} serviceAccountName: {{ include "influxdb.serviceAccountName" . }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
......
image: image:
repository: influxdb repository: influxdb
tag: 2.2.0-alpine tag: 2.3.0-alpine
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
## If specified, use these secrets to access the images
# pullSecrets:
# - registry-secret
## Annotations to be added to InfluxDB pods ## Annotations to be added to InfluxDB pods
## ##
......
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