Skip to content

Commit dda7cf6

Browse files
committed
add steps to disable the webhooks
Signed-off-by: Spolti <fspolti@redhat.com>
1 parent 80fa999 commit dda7cf6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

serverlessworkflow/modules/ROOT/pages/cloud/operator/install-serverless-operator.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,17 @@ minikube start [...] --driver podman
8080

8181
=== Install
8282

83-
To install the {product_name} Operator, you can use the following commands:
83+
To install the {product_name} Operator, you can use one of the following methods:
84+
85+
==== Install without Webhooks
86+
87+
The webhooks are enabled by default, if you want to disable it, you can install the operator using the `operator-no-webhooks.yaml` and skip the `Cert Manager` step.
88+
.Install {product_name} Operator on Kubernetes with no Webhooks
89+
[source,shell]
90+
----
91+
curl https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/{operator_version}/operator.yaml -o operator.yaml
92+
sed -i '/name: ENABLE_WEBHOOKS/{n;s/value: "true"/value: "false"/}' operator-no-webhooks.yaml
93+
----
8494

8595
.Install Cert Manager Operator
8696
[source,shell,subs="attributes+"]
@@ -92,6 +102,7 @@ kubectl apply -f {cert_manager_installer_url}
92102
The Cert Manager is recommended in order to help on abstracting the certificates configuration, if, for some reason it can't be installed, you need to make sure that the certificates needed by the Webhooks correctly configured, more information can be found link:{kubebuilder_webhooks_url}[here].
93103
====
94104

105+
==== Install with Webhooks
95106
.Install {product_name} Operator on Kubernetes
96107
[source,shell,subs="attributes+"]
97108
----

0 commit comments

Comments
 (0)