Merge branch 'next' into version-2021.5
This commit is contained in:
commit
251a97c77e
|
@ -48,10 +48,10 @@ class KubernetesObjectReconciler(Generic[T]):
|
||||||
@property
|
@property
|
||||||
def name(self) -> str:
|
def name(self) -> str:
|
||||||
"""Get the name of the object this reconciler manages"""
|
"""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),
|
"name": slugify(self.controller.outpost.name),
|
||||||
"uuid": self.controller.outpost.uuid.hex,
|
"uuid": self.controller.outpost.uuid.hex,
|
||||||
}
|
}).lower()
|
||||||
|
|
||||||
def up(self):
|
def up(self):
|
||||||
"""Create object if it doesn't exist, update if needed or recreate if needed."""
|
"""Create object if it doesn't exist, update if needed or recreate if needed."""
|
||||||
|
|
Reference in a new issue