Compare commits

..

No commits in common. "9ddca7c0a4d5cdd886d2666cf66d7a7bbac3689d" and "b2d900435974d2de91c7d4c5440e2312d627a6e5" have entirely different histories.

View file

@ -618,7 +618,7 @@ class ServiceInstance(ServalaModelMixin, models.Model):
# Check if secrets are available based on conditions
secrets_available = any(
[
condition.get("type") == "Ready" and condition.get("status") == "True"
condition.get("type") == "Status" and condition.get("status") == "True"
for condition in self.status_conditions
]
)
@ -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=self.organization.namespace
name=secret_name, namespace=secret_ref.get("namespace")
)
# Secret data is base64 encoded