Compare commits
No commits in common. "9ddca7c0a4d5cdd886d2666cf66d7a7bbac3689d" and "b2d900435974d2de91c7d4c5440e2312d627a6e5" have entirely different histories.
9ddca7c0a4
...
b2d9004359
1 changed files with 2 additions and 2 deletions
|
@ -618,7 +618,7 @@ class ServiceInstance(ServalaModelMixin, models.Model):
|
||||||
# Check if secrets are available based on conditions
|
# Check if secrets are available based on conditions
|
||||||
secrets_available = any(
|
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
|
for condition in self.status_conditions
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
@ -636,7 +636,7 @@ class ServiceInstance(ServalaModelMixin, models.Model):
|
||||||
self.context.control_plane.get_kubernetes_client()
|
self.context.control_plane.get_kubernetes_client()
|
||||||
)
|
)
|
||||||
secret = v1.read_namespaced_secret(
|
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
|
# Secret data is base64 encoded
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue