microcks / microcks-ansible-operator

Kubernetes Operator for easy setup and management of Microcks installs
https://microcks.io
Apache License 2.0
26 stars 6 forks source link

Allow providing custom certificates for Routes on OpenShift #72

Closed lbroudoux closed 2 years ago

lbroudoux commented 2 years ago

As of today, Operator detects if running on OpenShift and only creates Routes in this case. Ingress are created instead when running on vanilla Kube. As of today you can configure certificates used by Ingress but Route just rely on default router/HAProxy ingress controller configuration in OpenShift.

We must provide a way to configure custom certs for OpenShift Routes. I see 2 ways of doing this :

These changes will require a bit of implementation time sand tests.

In a more "quick and easy-fix" fashion, we could also enable the injection of custom annotations on Routes (like we do on Ingress) so that Cert Utils operator (https://github.com/redhat-cop/cert-utils-operator) could do the job of injecting everything we need in Routes.

lbroudoux commented 2 years ago

Now available in quay.io/microcks/microcks-ansible-operator:nightly container image