Skip to content

Commit

Permalink
[ #502 ] Fix URL given when uninstalling the operator and giving more…
Browse files Browse the repository at this point in the history
… info (#510)

* Fix URL given when uninstalling the operator and giving more info

* Incorporate Marian's comments.

* Incorporate Marian's comments

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

Fixes #502 

Co-authored-by: Marián Macik <[email protected]>

---------

Co-authored-by: Marián Macik <[email protected]>
  • Loading branch information
gabriel-farache and MarianMacik authored Oct 19, 2023
1 parent 4bdc003 commit 641c0fc
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ To install the {product_name} Operator, you can use the following command:
----
kubectl create -f https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/{operator_version}/operator.yaml
----
You can also specify a version:
----
kubectl create -f https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/v<version>/operator.yaml
----
`<version>` could be `1.43.0` for instance.

You can follow the deployment of the {product_name} Operator:

Expand Down Expand Up @@ -142,17 +147,17 @@ kubectl get deployment sonataflow-operator-controller-manager -n sonataflow-oper
quay.io/kiegroup/kogito-serverless-operator-nightly:1.41.0
----

The operator manager image reflects the current operator's version. Replace the major and minor version names in the command below. For example, if the image version is `1.41.0` use `1.41` in the placeholder:

.Uninstalling the operator
[source,shell,subs="attributes+"]
----
kubectl delete -f https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/<version>.x/operator.yaml
kubectl delete -f https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/v<version>/operator.yaml
----

[TIP]
====
If you're running a snapshot version, use this URL instead `https://raw.githubusercontent.com/kiegroup/kogito-serverless-operator/main/operator.yaml`.
The URL should be the same used when installing the operator.
====

== Additional resources
Expand Down

0 comments on commit 641c0fc

Please sign in to comment.