Skip to content

Commit

Permalink
Add missing pull secret on Prometheus deployment
Browse files Browse the repository at this point in the history
Prometheus deployment created by the Helm chart is missing a pull secret,
variable is necessary to pull the prometheus image from private a repository

Signed-off-by: Joseph Villarreal Lopez <[email protected]>
  • Loading branch information
Lapeyus committed Mar 5, 2021
1 parent f3ca626 commit 73c4833
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 73c4833

Please sign in to comment.