This commit is contained in:
parent
bc8c7a80b2
commit
a2ac202f26
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ class ServiceInstance(ServalaModelMixin, models.Model):
|
|||
"spec": spec_data or {},
|
||||
}
|
||||
if label := context.control_plane.required_label:
|
||||
create_data["metadata"]["labels"] = [{settings.DEFAULT_LABEL_KEY: label}]
|
||||
create_data["metadata"]["labels"] = {settings.DEFAULT_LABEL_KEY: label}
|
||||
api_instance = client.CustomObjectsApi(
|
||||
context.control_plane.get_kubernetes_client()
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue