Skip to content

Commit

Permalink
feat: add chart support for custom dnsConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
j4m3s-s committed Mar 9, 2023
1 parent a0ea8b7 commit 31eeb2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/kubelet-csr-approver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ spec:
{{- if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy | quote }}
{{- end }}
{{- if .Values.dnsConfig }}
dnsConfig:
{{- .Values.dnsConfig | toYaml | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
1 change: 1 addition & 0 deletions charts/kubelet-csr-approver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,4 @@ env: []
# value: bar

dnsPolicy: ""
dnsConfig: {}

0 comments on commit 31eeb2f

Please sign in to comment.