From cae19478df59f7eb966e4f8d7ebadc062d18be86 Mon Sep 17 00:00:00 2001 From: Vojta Polak Date: Fri, 7 Feb 2025 13:58:55 +0100 Subject: [PATCH] add support for imagePullSecrets --- charts/azure-metrics-exporter/templates/serviceaccount.yaml | 4 ---- charts/azure-metrics-exporter/values.yaml | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/charts/azure-metrics-exporter/templates/serviceaccount.yaml b/charts/azure-metrics-exporter/templates/serviceaccount.yaml index b41430a..beff29d 100644 --- a/charts/azure-metrics-exporter/templates/serviceaccount.yaml +++ b/charts/azure-metrics-exporter/templates/serviceaccount.yaml @@ -12,8 +12,4 @@ metadata: {{- if .Values.serviceAccount.annotations }} annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }} {{- end }} -{{- if .Values.global.imagePullSecrets }} -imagePullSecrets: -{{ include "azure-metrics-exporter.imagePullSecrets" . | trim | indent 2 }} -{{- end }} {{- end }} diff --git a/charts/azure-metrics-exporter/values.yaml b/charts/azure-metrics-exporter/values.yaml index 14441c0..2ed7344 100644 --- a/charts/azure-metrics-exporter/values.yaml +++ b/charts/azure-metrics-exporter/values.yaml @@ -101,6 +101,7 @@ containerSecurityContext: # -- registry secret names as an array imagePullSecrets: [] + # - name: pull-secret-name service: type: ClusterIP @@ -279,6 +280,3 @@ verticalPodAutoscaler: # Specifies whether recommended updates are applied when a Pod is started and whether recommended updates # are applied during the life of a Pod. Possible values are "Off", "Initial", "Recreate", and "Auto". updateMode: Auto - -global: - imagePullSecrets: []