Check scripts on SGCluster configuration panel shows no messages when the script comes from a secret
Summary
Check scripts on SGCluster/CLUSTER/configuration (/admin/cluster/configuration/) panel shows no messages when the script comes from a secret
Steps to reproduce
Create a cluster with a custom script coming from a secret
initialData:
scripts:
- name: create-mycluster-user
scriptFrom:
secretKeyRef:
name: micluster-db-user-password
key: mycluster-create-user-sql
Expected Behaviour
Show a message indicating the scripts comes from a secret.
Environment
- StackGres version: 0.9
- Kubernetes version: 1.17.0
- Cloud provider or hardware configuration: minikube
Relevant logs and/or screenshots
when you check the first script: