Files
truecharts/charts/stable/external-dns/values.yaml
T
Dennis JungandGitHub 27905d9de1 fix(external-dns): fix external-dns rbac (#37316)
**Description**
Adds EndpointSlices to rbac for use with kubernetes 1.33
(https://kubernetes.io/blog/2025/04/24/endpoints-deprecation/)
(https://github.com/kubernetes-sigs/external-dns/pull/5573)
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->
I've tested it on my local cluster by manual expanding the rbac with
endpointslices

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2025-07-09 12:48:04 +02:00

146 lines
4.5 KiB
YAML

image:
repository: registry.k8s.io/external-dns/external-dns
pullPolicy: IfNotPresent
tag: v0.18.0@sha256:f90738b35be265d50141d5c21e6f6049c3da7cd761682c40214117a2951b80bc
externaldns:
ingressClassName: ""
logLevel: "info"
logFormat: "text"
interval: "1m"
provider: "inmemory"
sources:
- "service"
- "ingress"
domainFilters: []
zoneidFilters: []
cloudflareProxied: ""
registry: "txt"
policy: ""
piholeServer: ""
piholePassword: ""
piholeAPIVersion: ""
triggerLoopOnEvent: "false"
txtOwnerId: ""
txtPrefix: ""
txtSuffix: ""
service:
main:
ports:
main:
protocol: http
targetPort: 7979
port: 7979
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
path: "/healthz"
readiness:
path: "/healthz"
startup:
path: "/healthz"
env:
CF_API_TOKEN: ""
CF_API_KEY: ""
CF_API_EMAIL: ""
DO_TOKEN: ""
DNSIMPLE_OAUTH: ""
LINODE_TOKEN: ""
OVH_APPLICATION_KEY: ""
OVH_APPLICATION_SECRET: ""
OVH_CONSUMER_KEY: ""
SCW_ACCESS_KEY: ""
SCW_SECRET_KEY: ""
# -- Whether Role Based Access Control objects like roles and rolebindings should be created
rbac:
main:
enabled: true
primary: true
clusterWide: true
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["list", "watch"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "watch", "list"]
- apiGroups: [""]
resources: ["services", "endpoints"]
verbs: ["get", "watch", "list"]
- apiGroups: ["extensions", "networking.k8s.io"]
resources: ["ingresses"]
verbs: ["get", "watch", "list"]
- apiGroups: ["networking.istio.io"]
resources: ["gateways"]
verbs: ["get", "watch", "list"]
- apiGroups: ["networking.istio.io"]
resources: ["virtualservices"]
verbs: ["get", "watch", "list"]
- apiGroups: ["getambassador.io"]
resources: ["hosts", "ingresses"]
verbs: ["get", "watch", "list"]
- apiGroups: ["projectcontour.io"]
resources: ["httpproxies"]
verbs: ["get", "watch", "list"]
- apiGroups: ["externaldns.k8s.io"]
resources: ["dnsendpoints"]
verbs: ["get", "watch", "list"]
- apiGroups: ["externaldns.k8s.io"]
resources: ["dnsendpoints/status"]
verbs: ["*"]
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["gateways"]
verbs: ["get", "watch", "list"]
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["httproutes"]
verbs: ["get", "watch", "list"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "watch", "list"]
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["grpcroutes"]
verbs: ["get", "watch", "list"]
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["tlsroutes"]
verbs: ["get", "watch", "list"]
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["tcproutes"]
verbs: ["get", "watch", "list"]
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["udproutes"]
verbs: ["get", "watch", "list"]
- apiGroups: ["gloo.solo.io", "gateway.solo.io"]
resources: ["proxies", "virtualservices"]
verbs: ["get", "watch", "list"]
- apiGroups: ["configuration.konghq.com"]
resources: ["tcpingresses"]
verbs: ["get", "watch", "list"]
- apiGroups: ["traefik.containo.us", "traefik.io"]
resources: ["ingressroutes", "ingressroutetcps", "ingressrouteudps"]
verbs: ["get", "watch", "list"]
- apiGroups: ["route.openshift.io"]
resources: ["routes"]
verbs: ["get", "watch", "list"]
- apiGroups: ["zalando.org"]
resources: ["routegroups"]
verbs: ["get", "watch", "list"]
- apiGroups: ["zalando.org"]
resources: ["routegroups/status"]
verbs: ["patch", "update"]
- apiGroups: ["cis.f5.com"]
resources: ["virtualservers"]
verbs: ["get", "watch", "list"]
- apiGroups: ["discovery.k8s.io"]
resources: ["endpointslices"]
verbs: ["get", "watch", "list"]
# -- The service account the pods will use to interact with the Kubernetes API
serviceAccount:
main:
enabled: true
primary: true
podOptions:
automountServiceAccountToken: true