Andrei Berenda

Results 3 comments of Andrei Berenda

Right now we have this code https://github.com/goauthentik/authentik/blob/e9c2e10828c3e2949a6dfc7cffb04ccb4e0b7087/authentik/outposts/controllers/kubernetes.py#L41 ```python class KubernetesClient(ApiClient, BaseClient): """Custom kubernetes client based on service connection""" def __init__(self, connection: KubernetesServiceConnection): config = Configuration() try: if connection.local: load_incluster_config(client_configuration=config) else:...

[Here is](https://github.com/goauthentik/authentik/blob/e9c2e10828c3e2949a6dfc7cffb04ccb4e0b7087/authentik/outposts/models.py#L232) KubernetesServiceConnection class: