From 29f76aa6ae5c429675df9b972225ba2ee367c085 Mon Sep 17 00:00:00 2001 From: Aditya Purandare Date: Wed, 11 Oct 2023 00:07:09 +0530 Subject: [PATCH] Update deployment.yaml --- charts/metrics-server/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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 }}