Skip to content

Commit 598e436

Browse files
Update example and description
To be honest, I'm not sure that we need the first two sentences. Feel free to strike them or add what I'm missing that users need to know.
1 parent d6e02d0 commit 598e436

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

documentation/site/content/managing-operators/conversion-webhook.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,25 @@ A webhook install is skipped if there's already a webhook deployment at the same
8585

8686
### Upgrade the conversion webhook
8787

88-
To upgrade the webhook (only) or the operator + webhook (typical installation), you run the Helm command for an upgrade as you typically would, but also include the option for `webhookOnly=true` as you would when you installed just the webhook. For example:
88+
We support having exactly one installation of the webhook and having one or more installations of the operator. To have more than one installation of the operator, you would need to install a Helm release with just the webhook and then separately install multiple Helm releases with just the operator.
89+
90+
To upgrade the conversion webhook only, you must have _first_ installed a Helm release with the `--set webhookOnly=true` option; then you can update that release.
91+
92+
The following example installs the conversion webhook only (at the specified version), and then upgrades it (to a later, specified version).
8993
```
90-
kubectl create namespace weblogic-operator-webhook
94+
kubectl create namespace <your-namespace>
9195
92-
helm repo add weblogic-operator https://oracle.github.io/weblogic-kubernetes-operator/charts --force-update
96+
helm repo add weblogic-helm-repository https://oracle.github.io/weblogic-kubernetes-operator/charts --force-update
9397
94-
helm install weblogic-operator-webhook weblogic-operator/weblogic-operator --namespace weblogic-operator-webhook --set webhookOnly=true --version 4.2.13
98+
helm install <your-release-name> weblogic-helm-repository/weblogic-operator --namespace <your-namespace> --set webhookOnly=true --version <selected-version>
9599
```
96-
The first two steps create the namespace and configures Helm with the chart repository.
100+
The first two steps create the namespace and configure Helm with the chart repository.
97101

98-
The final step installs the webhook specifying that the install should be for the webhook only and installs a specific version of the operator.
102+
The final step installs the webhook specifying that the install should be for the webhook only and at a specific version of the product.
99103

100104
To upgrade to a later version of the webhook:
101105
```
102-
helm upgrade weblogic-operator-webhook weblogic-operator/weblogic-operator --namespace weblogic-operator-webhook --version 4.2.15
106+
helm upgrade <your-release-name> weblogic-helm-repository/weblogic-operator --namespace <your-namespace> --version <selected-new-version>
103107
```
104108

105109
### Uninstall the conversion webhook

0 commit comments

Comments
 (0)