Skip to content

Commit

Permalink
Add support for image pull secrets in the helm chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
nclaeys committed Jul 8, 2024
1 parent 054ddcb commit 4df22ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/aks-node-termination-handler/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
icon: https://helm.sh/img/helm.svg
name: aks-node-termination-handler
version: 1.1.5
version: 1.1.6
description: Gracefully handle Azure Virtual Machines shutdown within Kubernetes
maintainers:
- name: maksim-paskal # Maksim Paskal
Expand Down
6 changes: 6 additions & 0 deletions charts/aks-node-termination-handler/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ spec:
{{ if .Values.extraVolumes }}
{{ toYaml .Values.extraVolumes | indent 6 }}
{{ end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
containers:
- name: aks-node-termination-handler
resources:
Expand Down
1 change: 1 addition & 0 deletions charts/aks-node-termination-handler/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
image: paskalmaksim/aks-node-termination-handler:latest
imagePullPolicy: Always
imagePullSecrets: []

args: []
env: []
Expand Down

0 comments on commit 4df22ab

Please sign in to comment.