diff --git a/charts/metrics-server/templates/deployment.yaml b/charts/metrics-server/templates/deployment.yaml index 1d656fccd..d0705a5a6 100644 --- a/charts/metrics-server/templates/deployment.yaml +++ b/charts/metrics-server/templates/deployment.yaml @@ -46,6 +46,10 @@ spec: {{- if .Values.hostNetwork.enabled }} hostNetwork: true {{- end }} + {{- if .Values.dnsConfig }} + dnsConfig: + {{- .Values.dnsConfig | toYaml | nindent 8 }} + {{- end }} containers: - name: metrics-server {{- with .Values.securityContext }}