diff --git a/charts/prometheus-openstack-exporter/templates/deployment.yaml b/charts/prometheus-openstack-exporter/templates/deployment.yaml index 2b764f14b..933d1c392 100644 --- a/charts/prometheus-openstack-exporter/templates/deployment.yaml +++ b/charts/prometheus-openstack-exporter/templates/deployment.yaml @@ -46,6 +46,10 @@ spec: - name: openstack-config secret: secretName: openstack-config + {{- with .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml . | indent 8 }} + {{- end }} {{- with .Values.hostAliases }} hostAliases: {{ toYaml . | indent 8 }} diff --git a/charts/prometheus-openstack-exporter/values.yaml b/charts/prometheus-openstack-exporter/values.yaml index 03381b96e..7d0bcbe8d 100644 --- a/charts/prometheus-openstack-exporter/values.yaml +++ b/charts/prometheus-openstack-exporter/values.yaml @@ -11,6 +11,11 @@ image: tag: 1.6.0 pullPolicy: Always +# imagePullSecrets: +# - name: my-registry-secret + +imagePullSecrets: [] + serviceMonitor: interval: 1m scrapeTimeout: 30s