-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Is your feature request related to a problem? Please describe.
I'm trying to set an ldap outpost with Authentik. Since this requires TCP traffic, I'm looking to expose the service as a LoadBalancer. At the same time, I'd like to update my DNS to have a record created for my LDAP outpost.
I'm using external-dns to keep my DNS records up to date and this would require an additional annotation on the service, for example:
external-dns.alpha.kubernetes.io/hostname: ldap.authentik.example
There isn't any option to do so right now, as the annotations are limited to the Ingress/HTTPRoute resources.
Describe the solution you'd like
Add a kubernetes_service_annotations
key to the outpost annotations that allows to add any annotations to the Service created.
Describe alternatives you've considered
I've tried setting a JSON patch, but I'm unsure this is correct as it definitely didn't work.
kubernetes_json_patches:
services:
- op: add
path: "/metadata/annotations/external-dns.alpha.kubernetes.io~1hostname"
value: "ldap.authentik.example"