Skip to content

Commit

Permalink
remove security context & update tag version (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
jillmon authored Feb 5, 2020
1 parent 575321f commit 826326e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
2 changes: 0 additions & 2 deletions stable/aws-node-termination-handler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ Parameter | Description | Default
`webhookHeaders` | Replaces the default webhook headers. | `{"Content-type":"application/json"}`
`webhookTemplate` | Replaces the default webhook message template. | `{"text":"[NTH][Instance Interruption] EventID: {{ .EventID }} - Kind: {{ .Kind }} - Description: {{ .Description }} - State: {{ .State }} - Start Time: {{ .StartTime }}"}`
`affinity` | node/pod affinities | None
`podSecurityContext` | Pod Security Context | `{}`
`podAnnotations` | annotations to add to each pod | `{}`
`priorityClassName` | Name of the priorityClass | `system-node-critical`
`resources` | Resources for the pods | `requests.cpu: 50m, requests.memory: 64Mi, limits.cpu: 100m, limits.memory: 128Mi`
`securityContext` | Container Security context | `privileged: true`
`nodeSelector` | Tells the daemon set where to place the node-termination-handler pods. For example: `lifecycle: "Ec2Spot"`, `on-demand: "false"`, `aws.amazon.com/purchaseType: "spot"`, etc. Value must be a valid yaml expression. | `{}`
`tolerations` | list of node taints to tolerate | `[]`
`rbac.create` | if `true`, create and use RBAC resources | `true`
Expand Down
2 changes: 0 additions & 2 deletions stable/aws-node-termination-handler/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ spec:
value: {{ .Values.enableScheduledEventDraining | quote }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion stable/aws-node-termination-handler/templates/psp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
spec:
privileged: false
hostIPC: false
hostNetwork: false
hostNetwork: true
hostPID: false
readOnlyRootFilesystem: false
allowPrivilegeEscalation: false
Expand Down
7 changes: 1 addition & 6 deletions stable/aws-node-termination-handler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@

image:
repository: amazon/aws-node-termination-handler
tag: v1.1.0
tag: v1.2.0
pullPolicy: IfNotPresent

nameOverride: ""
fullnameOverride: ""

priorityClassName: system-node-critical

podSecurityContext: {}

podAnnotations: {}

securityContext:
privileged: true

resources:
requests:
memory: "64Mi"
Expand Down

0 comments on commit 826326e

Please sign in to comment.