external-dns-app release v3.8.0

Changed

  • Replace the allow-all egress NetworkPolicy with least-privilege rules. ciliumNetworkPolicy.enabled, which had no effect, now renders a CiliumNetworkPolicy instead of the NetworkPolicy, with rules overridable through ciliumNetworkPolicy.egress and ciliumNetworkPolicy.ingress.
  • Limit metrics ingress to alloy-metrics.
  • Update upstream chart to v1.24.0 (external-dns v0.24.0):
    • Add fqdnTemplates, eventsEmit and hostUsers values.
    • Default the webhook container to a restricted security context.
    • Validate DNSEndpoint and DNSRecord CRDs at admission. Existing objects that fail validation can no longer be updated until fixed.
    • gateway-httproute: a hostname from an annotation or FQDN template now suppresses the listener hostname fallback, so with policy: sync records previously created from the listener get deleted.
    • gateway-tcproute requires Gateway API CRDs v1.6.0 or newer.
  • Render no network policy when hostNetwork is enabled.
  • Breaking: Install CRDs from the giantswarm/external-dns-crds image with a pre-install and pre-upgrade hook Job instead of the kubectl-apply-job subchart. The kubectlApplyJob values are removed and have to be dropped from user values.

Fixed

  • Grant cluster-scoped read access to Gateway API listenersets when enableGatewayListenerSets is set together with namespaced. ExternalDNS always watches ListenerSets cluster-wide, so the namespaced Role was not enough and ExternalDNS failed to sync.
  • Grant cluster-scoped read access to namespaces when namespaced and gatewayNamespace are set with a Gateway source. ExternalDNS lists Namespaces cluster-wide for Gateway sources even with --gateway-namespace, so without the ClusterRole it failed to sync.
  • Grant cluster-scoped read access to Gateway API gateways when namespaced is set with a Gateway source and no gatewayNamespace. ExternalDNS lists Gateways in --gateway-namespace and ignores --namespace, so without gatewayNamespace it lists them cluster-wide and the namespaced Role was not enough.
  • Grant cluster-scoped list/watch on nodes when namespaced is set with the node, pod or service source. ExternalDNS lists Nodes cluster-wide for these sources, so without the ClusterRole it failed to sync. For service this only applies when the new serviceTypeFilter value is empty or includes NodePort.
  • Name the cluster-scoped ClusterRoles and ClusterRoleBindings of a namespaced install after the release namespace as well (<fullname>-<namespace>-<suffix>), so namespaced releases with the same name in different namespaces no longer conflict. The existing <fullname>-namespaces objects are replaced on upgrade.

Added

  • serviceTypeFilter value, rendered as --service-type-filter. Set it instead of passing the flag through extraArgs, so the RBAC follows it.