Skip to content

Commit

Permalink
Merge pull request #2902 from michelzanini/master
Browse files Browse the repository at this point in the history
feat: Add support to configure dnsPolicy on the Helm chart deployment
  • Loading branch information
k8s-ci-robot authored Aug 9, 2022
2 parents 2978597 + ee32d06 commit 5382a0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/external-dns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- ## [UNRELEASED]
### Added
- Add support to configure dnsPolicy on the Helm chart deployment. [@michelzanini](https://github.com/michelzanini)
### Changed
### Fixed
### Deprecated
Expand Down
3 changes: 3 additions & 0 deletions charts/external-dns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ spec:
{{- with .Values.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ . }}
{{- end }}
{{- with .Values.dnsPolicy }}
dnsPolicy: {{ . }}
{{- end }}
containers:
- name: external-dns
{{- with .Values.securityContext }}
Expand Down
4 changes: 4 additions & 0 deletions charts/external-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ securityContext:
capabilities:
drop: ["ALL"]

# Defaults to `ClusterFirst`.
# Valid values are: `ClusterFirstWithHostNet`, `ClusterFirst`, `Default` or `None`.
dnsPolicy:

priorityClassName: ""

terminationGracePeriodSeconds:
Expand Down

0 comments on commit 5382a0a

Please sign in to comment.