Merge branch 'next' into version-2021.5

This commit is contained in:
Jens Langhammer 2021-05-09 18:13:52 +02:00
commit 251a97c77e
1 changed files with 2 additions and 2 deletions

View File

@ -48,10 +48,10 @@ class KubernetesObjectReconciler(Generic[T]):
@property
def name(self) -> str:
"""Get the name of the object this reconciler manages"""
return self.controller.outpost.config.object_naming_template % {
return (self.controller.outpost.config.object_naming_template % {
"name": slugify(self.controller.outpost.name),
"uuid": self.controller.outpost.uuid.hex,
}
}).lower()
def up(self):
"""Create object if it doesn't exist, update if needed or recreate if needed."""