Skip to content

Commit

Permalink
Update coredns version to 1.34.0 and add support for internal traffic…
Browse files Browse the repository at this point in the history
… policy (#102)

* Update coredns version to 1.34.0 and add support for internal traffic policy in service.yaml

* f
  • Loading branch information
LeoQuote authored Sep 24, 2024
1 parent 8fb39bb commit 75485a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/coredns/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ name: coredns
sources:
- https://github.com/coredns/coredns
type: application
version: 1.33.0
version: 1.34.0
3 changes: 3 additions & 0 deletions charts/coredns/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ spec:
{{- if .Values.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
{{- end }}
{{- if .Values.service.internalTrafficPolicy }}
internalTrafficPolicy: {{ .Values.service.internalTrafficPolicy }}
{{- end }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/coredns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ service:
# loadBalancerIP: ""
# externalIPs: []
# externalTrafficPolicy: ""
# internalTrafficPolicy: ""
# ipFamilyPolicy: ""
# The name of the Service
# If not set, a name is generated using the fullname template
Expand Down

0 comments on commit 75485a0

Please sign in to comment.