Skip to content

Commit

Permalink
Merge pull request #1288 from seanzatzdev-amazon/revert-1281-helm-cha…
Browse files Browse the repository at this point in the history
…rt-changes

Revert "Templatizing priotityClassName, hostNetwork, and additionalLabels in node-daemonset.yaml"
  • Loading branch information
k8s-ci-robot committed Mar 21, 2024
2 parents dff70d8 + 5bf60d7 commit bdb6b56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 2 additions & 5 deletions charts/aws-efs-csi-driver/templates/node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ spec:
app: efs-csi-node
app.kubernetes.io/name: {{ include "aws-efs-csi-driver.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.node.podLabels }}
{{ toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.node.podAnnotations }}
annotations: {{ toYaml .Values.node.podAnnotations | nindent 8 }}
{{- end }}
Expand All @@ -50,13 +47,13 @@ spec:
{{- with .Values.node.affinity }}
affinity: {{- toYaml . | nindent 8 }}
{{- end }}
hostNetwork: {{ .Values.node.hostNetwork }}
hostNetwork: true
dnsPolicy: {{ .Values.node.dnsPolicy }}
{{- with .Values.node.dnsConfig }}
dnsConfig: {{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ .Values.node.serviceAccount.name }}
priorityClassName: {{ .Values.node.priorityClassName}}
priorityClassName: system-node-critical
{{- with .Values.node.tolerations }}
tolerations: {{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
3 changes: 0 additions & 3 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ node:
# "fs-01234567":
# ip: 10.10.2.2
# region: us-east-2
hostNetwork: true
priorityClassName: system-node-critical
dnsPolicy: ClusterFirst
dnsConfig:
{}
Expand All @@ -140,7 +138,6 @@ node:
# dnsConfig:
# nameservers:
# - 169.254.169.253
podLabels: {}
podAnnotations: {}
resources:
{}
Expand Down

0 comments on commit bdb6b56

Please sign in to comment.