generated from amazon-archives/__template_Apache-2.0
-
Couldn't load subscription status.
- Fork 277
feat(chart): refactor helm chart #540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,3 +20,4 @@ | |
| .idea/ | ||
| *.tmproj | ||
| .vscode/ | ||
| example-values*.yaml | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,25 @@ | ||
| apiVersion: v1 | ||
| apiVersion: v2 | ||
| name: aws-node-termination-handler | ||
| description: A Helm chart for the AWS Node Termination Handler | ||
| description: A Helm chart for the AWS Node Termination Handler. | ||
| type: application | ||
| version: 0.16.0 | ||
| appVersion: 1.14.0 | ||
| kubeVersion: ">= 1.16-0" | ||
| keywords: | ||
| - aws | ||
| - eks | ||
| - ec2 | ||
| - node-termination | ||
| - spot | ||
| home: https://github.com/aws/eks-charts | ||
| icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png | ||
| sources: | ||
| - https://github.com/aws/eks-charts | ||
| - https://github.com/aws/aws-node-termination-handler/ | ||
| - https://github.com/aws/eks-charts/ | ||
| maintainers: | ||
| - name: Brandon Wagner | ||
| url: https://github.com/bwagner5 | ||
| email: bwagner5@users.noreply.github.com | ||
| - name: Jillian Montalvo | ||
| url: https://github.com/jillmon | ||
| email: jillmon@users.noreply.github.com | ||
| keywords: | ||
| - eks | ||
| - ec2 | ||
| - node-termination | ||
| - spot |
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
config/helm/aws-node-termination-handler/example-values-imds-linux.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| enableSqsTerminationDraining: false | ||
|
|
||
| targetNodeOs: linux | ||
|
|
||
| enableProbesServer: true |
5 changes: 5 additions & 0 deletions
5
config/helm/aws-node-termination-handler/example-values-imds-windows.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| enableSqsTerminationDraining: false | ||
|
|
||
| targetNodeOs: windows | ||
|
|
||
| enableProbesServer: true |
13 changes: 13 additions & 0 deletions
13
config/helm/aws-node-termination-handler/example-values-queue.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| serviceAccount: | ||
| annotations: | ||
| eks.amazonaws.com/role-arn: arn:aws:iam::99999999:role/nth-role | ||
|
|
||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| memory: 128Mi | ||
| limits: | ||
| cpu: 500m | ||
| memory: 256Mi | ||
|
|
||
| enableSqsTerminationDraining: true |
11 changes: 8 additions & 3 deletions
11
config/helm/aws-node-termination-handler/templates/NOTES.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| {{ .Release.Name }} has been installed or updated. To check the status of pods, run: | ||
|
|
||
| kubectl get pods --namespace {{ .Values.namespace }} | ||
| *********************************************************************** | ||
| * AWS Node Termination Handler * | ||
| *********************************************************************** | ||
| Chart version: {{ .Chart.Version }} | ||
| App version: {{ .Chart.AppVersion }} | ||
| Image tag: {{ include "aws-node-termination-handler.image" . }} | ||
| Mode : {{ if .Values.enableSqsTerminationDraining }}Queue Processor{{ else }}IMDS{{ end }} | ||
| *********************************************************************** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletions
12
config/helm/aws-node-termination-handler/templates/clusterrolebinding.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,16 @@ | ||
| {{- if .Values.rbac.create -}} | ||
| kind: ClusterRoleBinding | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| metadata: | ||
| name: {{ include "aws-node-termination-handler.fullname" . }} | ||
| labels: | ||
| {{- include "aws-node-termination-handler.labels" . | nindent 4 }} | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: {{ template "aws-node-termination-handler.serviceAccountName" . }} | ||
| namespace: {{ .Release.Namespace }} | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: {{ include "aws-node-termination-handler.fullname" . }} | ||
| apiGroup: rbac.authorization.k8s.io | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: {{ template "aws-node-termination-handler.serviceAccountName" . }} | ||
| namespace: {{ .Release.Namespace }} | ||
| {{- end -}} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please be mindful when changing immutable fields, it requires additional work when updating the helm chart to ensure high availability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cainelli this work was intended to be a breaking change and these changes were fully intentional and made with the understanding of the implications. I think there might have been a some missed communication when this was released (see above) but technically all changes to a pre v1 SemVer package are breaking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarifying @stevehipwell and sorry for the grumpiness.