Getting certificates working with openshift subscription #683
-
Hello! We have been running the operator by gitops with argo with manual download of the manifests and manual fixes to the files, but would like to try and use the subscription to simplify things. Changing certs seemed possible to do with editing the subscription, but I never got the validatingWebhookConfiguration to accept the certificates. I tried with some basic cert-manager, but since we aren't using it, and it didn't work initially, it kinda ebbed out. So, has anyone managed to make the messaging-topology-operator work as a subscription in openshift without cert-manager? Is there in general a guide or something to make it work? The error I got was: I did add clientConfig with a cert-chain as necessary, and the same cert chain validated curls towards what I believe to be one of the addresses. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @Andtalath, Not sure if this can help you on what you are doing, but this operator is also deployed with OLM both in operator-hub (https://operatorhub.io/operator/rabbitmq-messaging-topology-operator) and openshift-marketplace. In this way you can deploy and manage the operator using an openshift subscription. The certificates are managed by OLM itself in this way without cert-manager |
Beta Was this translation helpful? Give feedback.
-
G'day, I too have struck this issue (now that we've got 1.12.1). I suspect it comes down to how the operator Deployment is mounting the webhook certificate (at least, this is what it looks like to me). Essentially, we end up with:
in the Deployment object. Now, the I think it's a problem with the way that the certificate for the webhook service is mounted, but, at the same time, I don't actually see one generated automatically for that (webhook-service) endpoint. |
Beta Was this translation helpful? Give feedback.
-
I think this was replied here #701 |
Beta Was this translation helpful? Give feedback.
I think this was replied here #701