Skip to content

Commit a801a2d

Browse files
rajsameersameerr-nv
authored andcommitted
add support for image pull secrets
1 parent fe69421 commit a801a2d

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

charts/prometheus-openstack-exporter/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ spec:
4646
- name: openstack-config
4747
secret:
4848
secretName: openstack-config
49+
{{- with .Values.imagePullSecrets }}
50+
imagePullSecrets:
51+
{{ toYaml . | indent 8 }}
52+
{{- end }}
4953
{{- with .Values.hostAliases }}
5054
hostAliases:
5155
{{ toYaml . | indent 8 }}

charts/prometheus-openstack-exporter/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ image:
1111
tag: 1.6.0
1212
pullPolicy: Always
1313

14+
# imagePullSecrets:
15+
# - name: my-registry-secret
16+
17+
imagePullSecrets: []
18+
1419
serviceMonitor:
1520
interval: 1m
1621
scrapeTimeout: 30s

0 commit comments

Comments
 (0)