Fix secret retrieval
This commit is contained in:
parent
b2d9004359
commit
d2ed55b606
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ class ServiceInstance(ServalaModelMixin, models.Model):
|
|||
self.context.control_plane.get_kubernetes_client()
|
||||
)
|
||||
secret = v1.read_namespaced_secret(
|
||||
name=secret_name, namespace=secret_ref.get("namespace")
|
||||
name=secret_name, namespace=self.organization.namespace
|
||||
)
|
||||
|
||||
# Secret data is base64 encoded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue