Skip to content

Commit

Permalink
NTH - Add image.pullSecrets variable for private docker registries (#76)
Browse files Browse the repository at this point in the history
* Add image.pullSecrets variable for private docker registries
* updating chart version and app version
  • Loading branch information
mattrandallbecker committed Mar 13, 2020
1 parent 500c282 commit 74f43c3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions stable/aws-node-termination-handler/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: aws-node-termination-handler
description: A Helm chart for the AWS Node Termination Handler
version: 0.6.0
appVersion: 1.2.0
version: 0.7.0
appVersion: 1.3.0
home: https://github.com/aws/eks-charts
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
sources:
Expand Down
1 change: 1 addition & 0 deletions stable/aws-node-termination-handler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Parameter | Description | Default
`image.repository` | image repository | `amazon/aws-node-termination-handler`
`image.tag` | image tag | `<VERSION>`
`image.pullPolicy` | image pull policy | `IfNotPresent`
`image.pullSecrets` | image pull secrets (for private docker registries) | `[]`
`deleteLocalData` | Tells kubectl to continue even if there are pods using emptyDir (local data that will be deleted when the node is drained). | `false`
`gracePeriod` | (DEPRECATED: Renamed to podTerminationGracePeriod) The time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used. | `30`
`podTerminationGracePeriod` | The time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used. | `30`
Expand Down
6 changes: 6 additions & 0 deletions stable/aws-node-termination-handler/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 2 additions & 1 deletion stable/aws-node-termination-handler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

image:
repository: amazon/aws-node-termination-handler
tag: v1.2.0
tag: v1.3.0
pullPolicy: IfNotPresent
pullSecrets: []

nameOverride: ""
fullnameOverride: ""
Expand Down

0 comments on commit 74f43c3

Please sign in to comment.