Skip to content

Commit

Permalink
Added DNS Config for Controller to support EFS Access Point deletion.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamg28 committed Jun 8, 2021
1 parent 17e6515 commit e2a8623
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ spec:
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
spec:
hostNetwork: true
hostNetwork: true
dnsPolicy: {{ .Values.controller.dnsPolicy }}
{{- with .Values.controller.dnsConfig }}
dnsConfig: {{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
Expand Down
5 changes: 5 additions & 0 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ controller:
annotations: {}
## Enable if EKS IAM for SA is used
# eks.amazonaws.com/role-arn: arn:aws:iam::111122223333:role/efs-csi-role
# Example config which uses the AWS nameservers
# dnsPolicy: "None"
# dnsConfig:
# nameservers:
# - 169.254.169.253

## Node daemonset variables

Expand Down

0 comments on commit e2a8623

Please sign in to comment.