Skip to content

Commit

Permalink
Add support for custom dns policy setting of ndots value (#757)
Browse files Browse the repository at this point in the history
* support configuration of ndots

* quote ndots to avoid json unmarshall error

---------

Co-authored-by: Bachir Berrachedi <bachir.berrachedi@pega.com>
Co-authored-by: Adam Talbot <Adam.Talbot@pega.com>
  • Loading branch information
3 people authored May 28, 2024
1 parent 73dfb52 commit ef2bb3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/pega/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,11 @@ true
dnsConfig:
searches:
- {{ .Values.global.privateHostedZoneDomainName }}
{{ if (.Values.global.serviceDNSPolicyNdots) }}
options:
- name: ndots
value: {{ .Values.global.serviceDNSPolicyNdots | quote }}
{{- end }}
{{- end }}
{{- end }}

Expand Down

0 comments on commit ef2bb3b

Please sign in to comment.