Skip to content

Commit

Permalink
add support for imagePullSecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Moglum committed Feb 7, 2025
1 parent df7b5a0 commit cae1947
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions charts/azure-metrics-exporter/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 1 addition & 3 deletions charts/azure-metrics-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ containerSecurityContext:

# -- registry secret names as an array
imagePullSecrets: []
# - name: pull-secret-name

service:
type: ClusterIP
Expand Down Expand Up @@ -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: []

0 comments on commit cae1947

Please sign in to comment.