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:
parent
973e151dff
commit
6338785ce1
|
@ -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),
|
||||
|
|
Reference in New Issue