From 6338785ce169d4e02467c2e92794ae1a78276634 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 14 Jan 2022 10:34:54 +0100 Subject: [PATCH] outposts: change label app.kubernetes.io/name to include outpost type Signed-off-by: Jens Langhammer --- authentik/outposts/controllers/k8s/deployment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/controllers/k8s/deployment.py b/authentik/outposts/controllers/k8s/deployment.py index 6f6edfa95..bc8399386 100644 --- a/authentik/outposts/controllers/k8s/deployment.py +++ b/authentik/outposts/controllers/k8s/deployment.py @@ -57,7 +57,7 @@ class DeploymentReconciler(KubernetesObjectReconciler[V1Deployment]): """Get common object metadata""" kwargs.update( { - "app.kubernetes.io/name": "authentik-outpost", + "app.kubernetes.io/name": f"authentik-outpost-{self.outpost.type}", "app.kubernetes.io/managed-by": "goauthentik.io", "goauthentik.io/outpost-uuid": self.controller.outpost.uuid.hex, "goauthentik.io/outpost-name": slugify(self.controller.outpost.name),