Skip to content

Commit b1867c2

Browse files
kube-prometheus-stack - Adding imagePullSecret to Admission webhook Jobs (#5488)
Signed-off-by: arjunbnair97 <[email protected]> Signed-off-by: Jan-Otto Kröpke <[email protected]> Signed-off-by: Jan-Otto Kröpke <[email protected]> Co-authored-by: Jan-Otto Kröpke <[email protected]> Co-authored-by: Jan-Otto Kröpke <[email protected]>
1 parent 6856929 commit b1867c2

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Diff for: charts/kube-prometheus-stack/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ name: kube-prometheus-stack
3131
sources:
3232
- https://github.com/prometheus-community/helm-charts
3333
- https://github.com/prometheus-operator/kube-prometheus
34-
version: 70.4.0
34+
version: 70.4.1
3535
appVersion: v0.81.0
3636
kubeVersion: ">=1.19.0-0"
3737
home: https://github.com/prometheus-operator/kube-prometheus

Diff for: charts/kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/job-createSecret.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ spec:
2929
{{- if .Values.prometheusOperator.admissionWebhooks.patch.priorityClassName }}
3030
priorityClassName: {{ .Values.prometheusOperator.admissionWebhooks.patch.priorityClassName }}
3131
{{- end }}
32+
{{- if .Values.global.imagePullSecrets }}
33+
imagePullSecrets:
34+
{{- include "kube-prometheus-stack.imagePullSecrets" . | indent 8 }}
35+
{{- end }}
3236
containers:
3337
- name: create
3438
{{- $registry := .Values.global.imageRegistry | default .Values.prometheusOperator.admissionWebhooks.patch.image.registry -}}

Diff for: charts/kube-prometheus-stack/templates/prometheus-operator/admission-webhooks/job-patch/job-patchWebhook.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ spec:
2929
{{- if .Values.prometheusOperator.admissionWebhooks.patch.priorityClassName }}
3030
priorityClassName: {{ .Values.prometheusOperator.admissionWebhooks.patch.priorityClassName }}
3131
{{- end }}
32+
{{- if .Values.global.imagePullSecrets }}
33+
imagePullSecrets:
34+
{{- include "kube-prometheus-stack.imagePullSecrets" . | indent 8 }}
35+
{{- end }}
3236
containers:
3337
- name: patch
3438
{{- $registry := .Values.global.imageRegistry | default .Values.prometheusOperator.admissionWebhooks.patch.image.registry -}}

0 commit comments

Comments
 (0)