Skip to content

Commit

Permalink
be able to set DNS policy and config on the Kiali pod
Browse files Browse the repository at this point in the history
  • Loading branch information
jmazzitelli committed May 7, 2024
1 parent 4626745 commit 70e128d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kiali-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ spec:
- "/opt/kiali/kiali"
- "-config"
- "/kiali-configuration/config.yaml"
{{- if .Values.deployment.dns }}
{{- if .Values.deployment.dns.policy }}
dnsPolicy: "{{ .Values.deployment.dns.policy }}"
{{- end }}
{{- if .Values.deployment.dns.config }}
dnsConfig:
{{- toYaml .Values.deployment.dns.config | nindent 10 }}
{{- end }}
{{- end }}
securityContext:
{{- if .Values.deployment.security_context}}
{{- toYaml .Values.deployment.security_context | nindent 10 }}
Expand Down
3 changes: 3 additions & 0 deletions kiali-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ deployment:
pod_anti: {}
configmap_annotations: {}
custom_secrets: []
dns:
config: {}
policy: ""
host_aliases: []
hpa:
api_version: "autoscaling/v2"
Expand Down

0 comments on commit 70e128d

Please sign in to comment.