Skip to content

Commit

Permalink
Fix/prometheus adapter image pull secrets (helm#10725)
Browse files Browse the repository at this point in the history
* Move image pull secret block to a proper place

Signed-off-by: Iván Mora <[email protected]>

* Bump chart version

Signed-off-by: Iván Mora <[email protected]>
  • Loading branch information
ivanmp91 authored and k8s-ci-robot committed Jan 17, 2019
1 parent c3d847f commit 71ec1f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion stable/prometheus-adapter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: prometheus-adapter
version: v0.4.0
version: v0.4.1
appVersion: v0.4.1
description: A Helm chart for k8s prometheus adapter
home: https://github.com/DirectXMan12/k8s-prometheus-adapter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ spec:
{{- if .Values.resources }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
securityContext:
readOnlyRootFilesystem: true
Expand All @@ -98,6 +92,12 @@ spec:
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
volumes:
- name: config
configMap:
Expand Down

0 comments on commit 71ec1f4

Please sign in to comment.