Merge pull request #5593 from mohamedawnallah/updateOperatorTagInstallationDocs

operator/README.md: redirect users to the latest `karmada-operator` released tag
This commit is contained in:
karmada-bot 2024-09-25 10:55:09 +08:00 committed by GitHub
commit 5e36f170e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -23,11 +23,12 @@ This section describes how to install `karmada-operator` and create a Karmada in
#### Helm install
Go to the root directory of the `karmada-io/karmada` repo. To install the Helm Chart with
the release name `karmada-operator` in the namespace `karmada-system`, simply run the helm command:
Go to the root directory of the `karmada-io/karmada` repo. Before installing the Helm Chart, ensure the `karmada-operator` is set to the preferred released version. You can check the [latest tag on GitHub releases](https://github.com/karmada-io/karmada/releases/latest).
To install the Helm Chart with the release name `karmada-operator` in the namespace `karmada-system`, run the following command, replacing `${preferred-released-version}` with the desired version:
```shell
helm install karmada-operator -n karmada-system --create-namespace --dependency-update ./charts/karmada-operator --debug
helm install karmada-operator -n karmada-system --create-namespace --dependency-update ./charts/karmada-operator --set operator.image.tag=${preferred-released-version} --debug
```
#### Using YAML resource