mirror of
https://github.com/bvanroll/environment-ff-stage-euw1-gkecluster-primary-dev.git
synced 2025-08-29 12:02:41 +00:00
28 lines
657 B
YAML
28 lines
657 B
YAML
external-dns:
|
|
enabled: {{ .Requirements.ingress.externalDNS }}
|
|
sources:
|
|
- ingress
|
|
{{- if eq .Requirements.cluster.provider "eks"}}
|
|
provider: aws
|
|
aws:
|
|
region: {{ .Requirements.cluster.region}}
|
|
securityContext:
|
|
fsGroup: 65534
|
|
{{- else if eq .Requirements.cluster.provider "gke"}}
|
|
provider: google
|
|
google:
|
|
serviceAccountSecret: external-dns-gcp-sa
|
|
{{- if hasKey .Requirements.cluster "project" }}
|
|
project: "{{ .Requirements.cluster.project }}"
|
|
{{ end }}
|
|
{{- end}}
|
|
|
|
rbac:
|
|
create: true
|
|
domainFilters:
|
|
{{- range .Requirements.environments }}
|
|
{{- if .ingress.domain }}
|
|
- "{{ .ingress.domain }}"
|
|
{{- end }}
|
|
{{- end }}
|