Add missing pull secret on Prometheus deployment

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 <lapeyus@gmail.com>
This commit is contained in:
Joseph Villarreal Lopez
2021-03-04 18:49:19 -06:00
parent f3ca6266ab
commit 73c4833697
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -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:
+1
View File
@@ -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: ""