Can't get External DNS to work when following the guide

The message when I use flux get kustomization for external-dns is health check failed after 99.712038ms: failed early due to stalled resources: [HelmRelease/external-dns/external-dns status: 'Failed']. And the logs are always:
time="2024-07-10T19:04:13Z" level=info msg="Instantiating new Kubernetes client"
time="2024-07-10T19:04:13Z" level=info msg="Using inCluster-config based on serviceaccount-token"
time="2024-07-10T19:04:13Z" level=info msg="Created Kubernetes client https://10.43.0.1:443"
time="2024-07-10T19:04:13Z" level=fatal msg="error listing resources in GroupVersion \"externaldns.k8s.io/v1alpha1\": the server could not find the requested resource"
time="2024-07-10T19:04:13Z" level=info msg="Instantiating new Kubernetes client"
time="2024-07-10T19:04:13Z" level=info msg="Using inCluster-config based on serviceaccount-token"
time="2024-07-10T19:04:13Z" level=info msg="Created Kubernetes client https://10.43.0.1:443"
time="2024-07-10T19:04:13Z" level=fatal msg="error listing resources in GroupVersion \"externaldns.k8s.io/v1alpha1\": the server could not find the requested resource"
The CRD config is as follows:
crd:
## @param crd.create Install and use the integrated DNSEndpoint CRD
##
create: true
## @param crd.apiversion Sets the API version for the CRD to watch
##
apiversion: "externaldns.k8s.io/v1alpha1"
## @param crd.kind Sets the kind for the CRD to watch
##
kind: ""
crd:
## @param crd.create Install and use the integrated DNSEndpoint CRD
##
create: true
## @param crd.apiversion Sets the API version for the CRD to watch
##
apiversion: "externaldns.k8s.io/v1alpha1"
## @param crd.kind Sets the kind for the CRD to watch
##
kind: ""
3 Replies
raiomarco
raiomarco6mo ago
oh, theres a problem with the version i think i will get what im using
Kōrudo
KōrudoOP6mo ago
Let me know when you get it :D
raiomarco
raiomarco6mo ago
oh all right i'm using the 7.3.2 version from bitnami
spec:
chart:
spec:
chart: external-dns
version: 7.3.2 # auto-update to semver bugfixes only
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
spec:
chart:
spec:
chart: external-dns
version: 7.3.2 # auto-update to semver bugfixes only
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
it was the only version that worked for me the newer ones are broken (there's a issue on the github tracking it) and the version on the cookbook recipe didn't work for me neither
Want results from more Discord servers?
Add your server