Skip to content

Commit

Permalink
Merge pull request #1 from camaeel/chart-dns-policy
Browse files Browse the repository at this point in the history
Chart dns policy
  • Loading branch information
camaeel committed Aug 25, 2022
2 parents 6047449 + 5d058b5 commit 4a1abdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
spec:
tolerations: {{ toYaml ( .Values.tolerations | default .Values.tolerations ) | nindent 8 }}
nodeSelector: {{ toYaml ( .Values.nodeSelector | default .Values.nodeSelector ) | nindent 8 }}
dnsPolicy: {{ .Values.dnsPolicy }}
priorityClassName: system-node-critical
serviceAccountName: {{.Values.serviceAccountName}}
{{- if .Values.hostNetworking }}
Expand Down
3 changes: 3 additions & 0 deletions charts/aws-cloud-controller-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ tolerations:
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule

# dnsPolicy -- dnsPolicy of deamonset pods. Should be set to Default if deployed as a deamonset on control-plane nodes to resolve properly
dnsPolicy: Default

clusterRoleName : system:cloud-controller-manager

roleBindingName: cloud-controller-manager:apiserver-authentication-reader
Expand Down

0 comments on commit 4a1abdd

Please sign in to comment.