Skip to content

Commit

Permalink
Merge pull request #842 from Lapeyus/missing-helm-variable
Browse files Browse the repository at this point in the history
chart: Add pull secret for Prometheus deployment
  • Loading branch information
stefanprodan authored Mar 5, 2021
2 parents f3ca626 + 73c4833 commit 9112c5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion charts/flagger/templates/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,10 @@ spec:
mountPath: /etc/prometheus
- name: data-volume
mountPath: /prometheus/data

{{- if .Values.prometheus.pullSecret }}
imagePullSecrets:
- name: {{ .Values.prometheus.pullSecret }}
{{- end }}
volumes:
- name: config-volume
configMap:
Expand Down
1 change: 1 addition & 0 deletions charts/flagger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ prometheus:
# to be used with ingress controllers
install: false
image: docker.io/prom/prometheus:v2.23.0
pullSecret:
retention: 2h

kubeconfigQPS: ""
Expand Down

0 comments on commit 9112c5a

Please sign in to comment.