Skip to content

Commit 0063256

Browse files
(docs) Update docs since now webhook are supported by default
Co-authored-by: Todd Short <tmshort@users.noreply.github.com>
1 parent 70d7339 commit 0063256

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

docs/draft/howto/enable-webhook-support.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
## Installation of Bundles containing Webhooks
22

33
!!! note
4-
Webhook support is enabled by default. The controller uses the `WebhookProviderCertManager`
5-
feature gate unless you override it. To switch to the OpenShift Service CA provider,
6-
start the controller with `--feature-gates=WebhookProviderCertManager=false`.
4+
OLMv1 supports the installation of bundles containing webhooks by default.
5+
The controller uses the `WebhookProviderCertManager`
6+
feature-gate unless you override it. To switch to the OpenShift Service CA provider,
7+
start the controller with `--feature-gates=WebhookProviderCertManager=false` and enable `--feature-gates=WebhookProviderOpenshiftServiceCA=true`.
78

8-
OLMv1 currently does not support the installation of bundles containing webhooks. The webhook support feature enables this capability.
9-
Webhooks, or more concretely Admission Webhooks, are part of Kuberntes' [Dynamic Admission Control](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/)
9+
Webhooks, or more concretely Admission Webhooks, are part of Kubernetes' [Dynamic Admission Control](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/)
1010
feature. Webhooks run as services called by the kube-apiservice in due course of processing a resource related request. They can be used to validate resources, ensure reasonable default values,
1111
are set, or aid in the migration to new CustomResourceDefinition schema. The communication with the webhook service is secured by TLS. In OLMv1, the TLS certificate is managed by a
1212
certificate provider. Currently, two certificate providers are supported: CertManager and Openshift-ServiceCA. The certificate provider to use given by the feature-gate:

docs/draft/tutorials/explore-available-content-metas-endpoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Then you can query the catalog by using `curl` commands and the `jq` CLI tool to
9292
```
9393
9494
!!! important
95-
Currently, OLM 1.0 does not support the installation of extensions that use webhooks or that target a single or specified set of namespaces.
95+
OLM 1.0 supports installing extensions that define webhooks. Targeting a single or specified set of namespaces requires enabling the `SingleOwnNamespaceInstallSupport` feature-gate.
9696
9797
3. Return list of packages which support `AllNamespaces` install mode, do not use webhooks, and where the channel head version uses `olm.csv.metadata` format:
9898

docs/project/olmv1_limitations.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ hide:
88
Currently, OLM v1 only supports installing operators packaged in [OLM v0 bundles](https://olm.operatorframework.io/docs/tasks/creating-operator-bundle/)
99
, also known as `registry+v1` bundles. Additionally, the bundled operator, or cluster extension:
1010

11-
* **must** support installation via the `AllNamespaces` install mode.
12-
* **must not** use webhooks.
11+
* **must** support installation via the `AllNamespaces` install mode
1312
* **must not** declare dependencies using any of the following file-based catalog properties:
1413
* `olm.gvk.required`
1514
* `olm.package.required`

docs/tutorials/explore-available-content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Then you can query the catalog by using `curl` commands and the `jq` CLI tool to
9292
```
9393
9494
!!! important
95-
Currently, OLM 1.0 does not support the installation of extensions that use webhooks or that target a single or specified set of namespaces.
95+
OLM 1.0 supports installing extensions that define webhooks. Targeting a single or specified set of namespaces requires enabling the `SingleOwnNamespaceInstallSupport` feature-gate.
9696
9797
3. Return list of packages that support `AllNamespaces` install mode and do not use webhooks:
9898

0 commit comments

Comments
 (0)