outposts: change label app.kubernetes.io/name to include outpost type

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-14 10:34:54 +01:00
parent 973e151dff
commit 6338785ce1
1 changed files with 1 additions and 1 deletions

View File

@ -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),