Skip to content

Commit

Permalink
Allow setting image pull secrets for the service account
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Treml committed Jan 18, 2025
1 parent a911918 commit 7b52ebe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: 'v2'
name: 'media-servarr-base'
description: 'Base chart for media-servarr charts'
type: 'application'
version: 0.6.0
version: 0.7.0
icon: 'https://github.com/drinkataco/media-servarr/blob/main/icon.png'
4 changes: 4 additions & 0 deletions templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
imagePullSecrets:
{{- range .Values.serviceAccount.imagePullSecrets }}
- name: '{{ .name }}'
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ serviceAccount:
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: 'default'
# imagePullSecrets for private repositories.
imagePullSecrets: {}

service:
type: 'ClusterIP'
Expand Down

0 comments on commit 7b52ebe

Please sign in to comment.