Skip to content

Commit e859a56

Browse files
[Doc] Add documentation on using cert-manager with OLM (#6365)
This commit adds documentation on not needing to use Cert-manager with OLM while using webhooks as OLM uses self-signed certs and is not compatible with any third-party cert management solution. Signed-off-by: Varsha Prasad Narsing <[email protected]>
1 parent 411623e commit e859a56

File tree

1 file changed

+3
-0
lines changed
  • website/content/en/docs/building-operators/golang

1 file changed

+3
-0
lines changed

website/content/en/docs/building-operators/golang/webhook.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ Following this, there are a few steps which need to be done in your operator pro
7878

7979
2. Uncommenting sections in `config/default/kustomization.yaml` to enable webhook and cert-manager configuration through kustomize. Cert-manager (or any third party solution) can be used to provision certificates for webhook server. This is explained in detail [here](https://book.kubebuilder.io/cronjob-tutorial/running-webhook.html#deploy-webhooks).
8080

81+
**Note**
82+
If OLM is being used to deploy the operator, then the section prefixed with `[CERT-MANAGER]` need not be uncommented. This is because, OLM currently handles the cert generation and rotation for webhook deployment using self-signed certs. It also does not allow users to specify the name or mount location for the certs. More documentation on this issue can be found [here](https://olm.operatorframework.io/docs/advanced-tasks/adding-admission-and-conversion-webhooks/#deploying-an-operator-with-webhooks-using-olm).
83+
8184
### Generate webhook manifests and enable webhook deployment
8285

8386
Once your webhooks are implemented, all that’s left is to create the `WebhookConfiguration` manifests required to register your webhooks with Kubernetes:

0 commit comments

Comments
 (0)