Skip to content

Commit

Permalink
Merge pull request #45 from jkroepke/dns-policy
Browse files Browse the repository at this point in the history
Add support for dnsPolicy to the Helm chart
  • Loading branch information
ghouscht authored Apr 7, 2022
2 parents 4ad6173 + de2787c commit f7ec7b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/kubelet-csr-approver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: kubelet-csr-approver
description: Kubelet CSR Approver
type: application
version: v0.2.0
appVersion: v0.2.0
version: v0.2.1
appVersion: v0.2.1
maintainers:
- name: clementnuss
- name: treydock
3 changes: 3 additions & 0 deletions charts/kubelet-csr-approver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
labels:
{{- include "kubelet-csr-approver.selectorLabels" . | nindent 8 }}
spec:
{{- if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy | quote }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/kubelet-csr-approver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ rbac:
env: []
# - name: FOO
# value: bar

dnsPolicy: ""

0 comments on commit f7ec7b8

Please sign in to comment.