codewind
codewind copied to clipboard
Automatically generate a secret for ingress if TLS is enabled
Currently, setting up an app to use ingress over HTTPS in Codewind requires some manual effort for the user:
- Either retrieve or generate SSL certificates for the ingress
- Create a secret containing that certificate
-
kubectl edit
the ingress resource and add the secret to it.
When the isHTTPS
project setting is set to true, If Codewind is unable to find a secret containing the certificate for the ingress, it should create a self-signed certificate automatically for the ingress to use and add it to the ingress when creating it.