rabbitmq / OLM-Package-Repo

Script to generate OLM (Operator-LifeCycle-Manager) Bundles for RabbitMQ Kubernetes operators
MIT License
0 stars 2 forks source link

Generate certificates for webhooks manually #21

Closed DanielePalaia closed 1 month ago

DanielePalaia commented 2 months ago

Is your feature request related to a problem? Please describe.

This scenario can be interesting to investigate in OLM: https://github.com/rabbitmq/messaging-topology-operator/discussions/794

Apparently OLM automatically generate and mount certificates for webhook like described in:

https://olm.operatorframework.io/docs/advanced-tasks/adding-admission-and-conversion-webhooks/

But there is no guideline on how to generate this manually if a user wants to.

Describe the solution you'd like

Be able for a user to use their own certificates

Describe alternatives you've considered

No response

Additional context

No response

DanielePalaia commented 2 months ago

It seems like this scenario is not currently possible to implement through OLM.

At the moment OLM automatically mount the certificates and it doesn't allow the user to generate them manually.

There is a plan to overcome this limitation as discussed here: https://github.com/operator-framework/operator-lifecycle-manager/issues/1805

DanielePalaia commented 1 month ago

I'll close this issue has it seems currently to be an OLM limitation.