Skip to content

Commit

Permalink
Add image pull secret to influxdb2 chart (#482)
Browse files Browse the repository at this point in the history
* add image pull secret

* update app version

* update image

Co-authored-by: Chris <[email protected]>
  • Loading branch information
ChristophKuper and ChristophCku authored Oct 10, 2022
1 parent 6fdca6e commit 3c10c43
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/influxdb2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v2
appVersion: 2.2.0
appVersion: 2.3.0
name: influxdb2
description: A Helm chart for InfluxDB v2
home: https://www.influxdata.com/products/influxdb/
type: application
version: 2.1.0
version: 2.1.1
maintainers:
- name: rawkode
email: [email protected]
Expand Down
6 changes: 6 additions & 0 deletions charts/influxdb2/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ spec:
{{- if .Values.volumes }}
{{- toYaml .Values.volumes | nindent 8 }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end}}
{{- end }}
serviceAccountName: {{ include "influxdb.serviceAccountName" . }}
containers:
- name: {{ .Chart.Name }}
Expand Down
5 changes: 4 additions & 1 deletion charts/influxdb2/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
image:
repository: influxdb
tag: 2.2.0-alpine
tag: 2.3.0-alpine
pullPolicy: IfNotPresent
## If specified, use these secrets to access the images
# pullSecrets:
# - registry-secret

## Annotations to be added to InfluxDB pods
##
Expand Down

0 comments on commit 3c10c43

Please sign in to comment.