Skip to content

Commit d6e02d0

Browse files
Update conversion webhppk
1 parent 6f8e2e4 commit d6e02d0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,25 @@ The following table describes the behavior of different operator `Helm` chart co
8383
**NOTE**:
8484
A webhook install is skipped if there's already a webhook deployment at the same or newer version. The `helm install` step requires cluster-level permissions to search for existing conversion webhook deployments in all namespaces.
8585

86+
### Upgrade the conversion webhook
87+
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:
89+
```
90+
kubectl create namespace weblogic-operator-webhook
91+
92+
helm repo add weblogic-operator https://oracle.github.io/weblogic-kubernetes-operator/charts --force-update
93+
94+
helm install weblogic-operator-webhook weblogic-operator/weblogic-operator --namespace weblogic-operator-webhook --set webhookOnly=true --version 4.2.13
95+
```
96+
The first two steps create the namespace and configures Helm with the chart repository.
97+
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.
99+
100+
To upgrade to a later version of the webhook:
101+
```
102+
helm upgrade weblogic-operator-webhook weblogic-operator/weblogic-operator --namespace weblogic-operator-webhook --version 4.2.15
103+
```
104+
86105
### Uninstall the conversion webhook
87106

88107
{{% notice warning %}}

0 commit comments

Comments
 (0)