Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add imagePullSecrets support to chronograf and kapacitor charts #649

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/chronograf/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: chronograf
version: 1.2.6
version: 1.2.7
appVersion: 1.9.4
description: Open-source web application written in Go and React.js that provides
the tools to visualize your monitoring data and easily create alerting and automation
Expand Down
6 changes: 6 additions & 0 deletions charts/chronograf/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ spec:
{{- end }}
{{- include "chronograf.selectorLabels" . | nindent 8 }}
spec:
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
2 changes: 2 additions & 0 deletions charts/chronograf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ image:
## alternative: quay.io/influxdb/chronograf
tag: 1.9.4
pullPolicy: IfNotPresent
# pullSecrets:
# - my-registry-key

## Specify a service type
## ClusterIP is default
Expand Down
2 changes: 1 addition & 1 deletion charts/kapacitor/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: kapacitor
version: 1.4.7
version: 1.4.8
appVersion: 1.6.4
description: InfluxDB's native data processing engine. It can process both stream
and batch data from InfluxDB.
Expand Down
6 changes: 6 additions & 0 deletions charts/kapacitor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ spec:
labels:
app: {{ template "kapacitor.fullname" . }}
spec:
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
serviceAccountName: {{ template "kapacitor.serviceAccountName" . }}
containers:
- name: {{ .Chart.Name }}
Expand Down
2 changes: 2 additions & 0 deletions charts/kapacitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ image:
repository: "kapacitor"
tag: "1.6.4-alpine"
pullPolicy: "IfNotPresent"
# pullSecrets:
# - my-registry-key

## Deployment Strategy type
# strategy:
Expand Down