diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index d5c0520..f88c849 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -75,6 +75,8 @@ spec: {{- end }} serviceAccountName: {{ include "valkey-operator.fullname" . }} automountServiceAccountToken: true + dnsPolicy: {{ .Values.dnsPolicy }} + hostNetwork: {{ .Values.hostNetwork }} containers: - name: manager image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }} diff --git a/chart/values.yaml b/chart/values.yaml index b48cbd5..9b6fd26 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -61,7 +61,8 @@ resources: cpu: 100m # -- Memory request memory: 128Mi - +dnsPolicy: ClusterFirst +hostNetwork: false service: # -- Service type type: ClusterIP