-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
What is the feature and why do you need it:
I’m running Authentik with Istio, and I’ve configured Istio to block all outbound traffic from Authentik except explicitly allowed destinations. However, the outpost_service_connection_monitor component connects to the Kubernetes API using an IP address by default, which makes it difficult to configure Istio rules.
If the KubernetesServiceConnection class provided an optional host field that could be used like this:
config.host = connection.hostit would allow the use of a hostname such as https://kubernetes.default.svc, making it much easier to configure Istio to permit access to the Kubernetes API.
Describe the solution you'd like to see:
Add an optional host field to KubernetesServiceConnection and use it to override the default API endpoint when initializing the Kubernetes client.