Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/external-dns] Allow rfc2136-zone to specify multiple zones #28681

Merged
merged 11 commits into from
Oct 29, 2024
2 changes: 1 addition & 1 deletion bitnami/external-dns/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ maintainers:
name: external-dns
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/external-dns
version: 8.3.5
version: 8.3.6
14 changes: 10 additions & 4 deletions bitnami/external-dns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,18 @@ spec:
- --txt-encrypt-enabled
- --txt-encrypt-aes-key=$(TXT_AES_ENCRYPTION_KEY)
{{- end }}
{{- range $key, $value := .Values.extraArgs }}
# Extra arguments
{{- if $value }}
{{- if .Values.extraArgs }}
{{- range $key, $value := .Values.extraArgs }}
# Extra arguments
{{- if kindIs "slice" $value }}
{{- range $val := $value }}
- --{{ $key }}={{ $val }}
{{- end }}
{{- else if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
{{- else }}
- --{{ $key }}
{{- end }}
fmulero marked this conversation as resolved.
Show resolved Hide resolved
{{- end }}
{{- end }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions bitnami/external-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,10 @@ txtEncrypt:
## @param extraArgs Extra arguments to be passed to external-dns
##
extraArgs: {}
##extraArgs:
## rfc2136-zone:
## - extra-zone1.com
## - extra-zone2.com
## @param extraEnvVars An array to add extra env vars
##
extraEnvVars: []
Expand Down
Loading