Default SSL Enabled cannot be turned off from AdminUI/RestApi
Summary
Ever since SSL was enabled by default in V1.17, it cannot be turned off from the administration UI, if you turn the toggle off in cluster creation, it will show as toggled, but when you Dry Run or Proceed with creating the cluster, you will find it enabled, also the SGCluster CRD shows it as enabled. However, manually editing the CRD after creation successfully turns SSL off.
Current Behaviour
Cluster SSL cannot be turned off with AdminUI/RestApi
Steps to reproduce
Create a new cluster, in the main page, turn off SSL and click Dry Run, you will find SSL still enabled. Close Dry Run Dialog, turn off SSL again and Create Cluster Check the cluster's SGCluster SSL key
Expected Behaviour
Turning off the toggle for SSL should disable it
Possible Solution
Environment
- StackGres version:
- V1.18.1
- V1.18.0
- Kubernetes version:
- 1.34.0
- 1.33.0
- Cloud provider or hardware configuration:
- On-Prem with Kubespray
- Kind
- Minikube
