fiaas-deploy-daemon
fiaas-deploy-daemon copied to clipboard
Add support for disabling use of TLS per domain suffix
Context:
We have clusters with two ingress controllers:
- Public ingress controller using the domain
example.com
- Private ingress controller using the doamin
private.example.com
What we want to achieve?
- Use letsencrypt to issue certificates for
example.com
- Disable tls for
private.example.com
Solution:
- Set
use-ingress-tls
todefault_on
to enable tls by default for all ingresses - Add a new config option to FIAAS to disable tls for one or many domains. example
tls-certificate-issuer-disable-for-domain-suffixes=private.example.com
What will change:
- Group hosts that we want to disable tls for together in one ingress resource (if the user doesn't set annotations).
- Do not add
kubernetes.io/tls-acme: true
orcert-manager.io/cluster-issuer: nameOfClusterIssuer
annotation to the ingress resource. - This will tell cert-manager to not create a certificate for those hosts
/sem-approve
Any expected timeline for when this is to be merged? :)