Skip to content

Commit

Permalink
Fix clickhouse imagePullSecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
justincmoy committed Nov 25, 2020
1 parent 0819e79 commit 573ca29
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion clickhouse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ keywords:
name: clickhouse
sources:
- https://github.com/sentry-kubernetes/charts
version: 1.5.0
version: 2.0.0
4 changes: 0 additions & 4 deletions clickhouse/templates/statefulset-clickhouse-replica.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ spec:
resources: {{- toYaml .Values.clickhouse.metrics.resources | nindent 8 }}
{{- end }}
{{- end }}
{{- if .Values.clickhouse.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.clickhouse.imagePullSecrets }}
{{- end }}
{{- if .Values.clickhouse.nodeSelector }}
nodeSelector:
{{ toYaml .Values.clickhouse.nodeSelector | indent 8 }}
Expand Down
4 changes: 0 additions & 4 deletions clickhouse/templates/statefulset-clickhouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ spec:
resources: {{- toYaml .Values.clickhouse.metrics.resources | nindent 8 }}
{{- end }}
{{- end }}
{{- if .Values.clickhouse.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.clickhouse.imagePullSecrets }}
{{- end }}
{{- if .Values.clickhouse.nodeSelector }}
nodeSelector:
{{ toYaml .Values.clickhouse.nodeSelector | indent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion sentry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sentry
description: A Helm chart for Kubernetes
type: application
version: 8.0.0
version: 9.0.0
appVersion: 20.10.1
dependencies:
- name: redis
Expand Down
4 changes: 3 additions & 1 deletion sentry/templates/hooks/clickhouse-init.job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ spec:
restartPolicy: Never
{{- if .Values.clickhouse.clickhouse.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.clickhouse.clickhouse.imagePullSecrets | indent 8 }}
{{- range .Values.clickhouse.imagePullSecrets }}
- name: {{ . | quote }}
{{- end }}
{{- end }}
containers:
- name: clickhouse-init
Expand Down

0 comments on commit 573ca29

Please sign in to comment.