diff --git a/charts/kubelet-csr-approver/Chart.yaml b/charts/kubelet-csr-approver/Chart.yaml index 4a8dfe7..1d2aa36 100644 --- a/charts/kubelet-csr-approver/Chart.yaml +++ b/charts/kubelet-csr-approver/Chart.yaml @@ -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 diff --git a/charts/kubelet-csr-approver/templates/deployment.yaml b/charts/kubelet-csr-approver/templates/deployment.yaml index e4b8029..e817cc4 100644 --- a/charts/kubelet-csr-approver/templates/deployment.yaml +++ b/charts/kubelet-csr-approver/templates/deployment.yaml @@ -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 }} diff --git a/charts/kubelet-csr-approver/values.yaml b/charts/kubelet-csr-approver/values.yaml index 5c6432f..f9e45f7 100644 --- a/charts/kubelet-csr-approver/values.yaml +++ b/charts/kubelet-csr-approver/values.yaml @@ -77,3 +77,5 @@ rbac: env: [] # - name: FOO # value: bar + +dnsPolicy: ""