|
2 | 2 | :compat-mode!:
|
3 | 3 | // Metadata:
|
4 | 4 | :description: Install the operator on Kubernetes clusters
|
| 5 | +<<<<<<< HEAD |
5 | 6 | :keywords: kogito, sonataflow, workflow, serverless, operator, kubernetes, minikube, openshift, containers
|
6 | 7 | // links
|
7 |
| - |
8 | 8 | :openshift_operator_install_url: https://docs.openshift.com/container-platform/4.13/operators/admin/olm-adding-operators-to-cluster.html
|
9 | 9 | :openshift_operator_uninstall_url: https://docs.openshift.com/container-platform/4.13/operators/admin/olm-deleting-operators-from-cluster.html
|
10 | 10 | :kubernetes_operator_install_url: https://operatorhub.io/how-to-install-an-operator
|
11 | 11 | :kubernetes_operator_uninstall_url: https://olm.operatorframework.io/docs/tasks/uninstall-operator/
|
12 | 12 | :operatorhub_url: https://operatorhub.io/
|
| 13 | +:cert_manager_installer_url: https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml |
| 14 | +:kubebuilder_webhooks_url: https://book.kubebuilder.io/cronjob-tutorial/running.html |
13 | 15 |
|
14 | 16 | This guide describes how to install the {operator_name} in a Kubernetes or OpenShift cluster. The operator is in an xref:/cloud/operator/known-issues.adoc[early development stage] (community only) and has been tested on OpenShift 4.11+, Kubernetes 1.22+, and link:{minikube_url}[Minikube].
|
15 | 17 |
|
@@ -79,7 +81,17 @@ minikube start [...] --driver podman
|
79 | 81 |
|
80 | 82 | === Install
|
81 | 83 |
|
82 |
| -To install the {product_name} Operator, you can use the following command: |
| 84 | +To install the {product_name} Operator, you can use the following commands: |
| 85 | + |
| 86 | +.Install Cert Manager Operator |
| 87 | +[source,shell,subs="attributes+"] |
| 88 | +---- |
| 89 | +kubectl apply -f {cert_manager_installer_url} |
| 90 | +---- |
| 91 | +[NOTE] |
| 92 | +==== |
| 93 | +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]. |
| 94 | +==== |
83 | 95 |
|
84 | 96 | .Install {product_name} Operator on Kubernetes
|
85 | 97 | [source,shell,subs="attributes+"]
|
@@ -155,6 +167,12 @@ kubectl delete -f https://raw.githubusercontent.com/kiegroup/kogito-serverless-o
|
155 | 167 | If you're running a snapshot version, use this URL instead `https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/main/operator.yaml`.
|
156 | 168 | ====
|
157 | 169 |
|
| 170 | +.Uninstalling Cert Manager Operator |
| 171 | +[source,shell,subs="attributes+"] |
| 172 | +---- |
| 173 | +kubectl delete -f {cert_manager_installer_url} |
| 174 | +---- |
| 175 | + |
158 | 176 | == Additional resources
|
159 | 177 |
|
160 | 178 | * xref:cloud/operator/known-issues.adoc[]
|
|
0 commit comments