October feature list #226
2 changed files with 31 additions and 26 deletions
|
|
@ -911,6 +911,9 @@ class ServiceInstance(ServalaModelMixin, models.Model):
|
|||
import base64
|
||||
|
||||
for key, value in secret.data.items():
|
||||
# Skip keys ending with _HOST as they're only useful for dedicated OpenShift clusters
|
||||
if key.endswith("_HOST"):
|
||||
continue
|
||||
try:
|
||||
credentials[key] = base64.b64decode(value).decode("utf-8")
|
||||
except Exception:
|
||||
|
|
|
|||
|
|
@ -173,6 +173,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
{% if instance.connection_credentials %}
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4>{% translate "Connection Credentials" %}</h4>
|
||||
|
|
@ -204,6 +205,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue