diff --git a/cost-analyzer/templates/kubecost-metrics-deployment-template.yaml b/cost-analyzer/templates/kubecost-metrics-deployment-template.yaml index fecb5b9b7..793c2138c 100644 --- a/cost-analyzer/templates/kubecost-metrics-deployment-template.yaml +++ b/cost-analyzer/templates/kubecost-metrics-deployment-template.yaml @@ -271,6 +271,10 @@ spec: configMapKeyRef: name: {{ template "cost-analyzer.fullname" . }} key: kubecost-token + {{- if .Values.imagePullSecrets }} + imagePullSecrets: + {{ toYaml .Values.imagePullSecrets | indent 2 }} + {{- end }} {{- if .Values.kubecostMetrics.exporter.priorityClassName }} priorityClassName: {{ .Values.kubecostMetrics.exporter.priorityClassName }} {{- end }}