Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust the installation command #3119

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions docs_new/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ tool to target the Kubernetes cluster you want to install Kanister on.
Start by adding the Kanister repository to your local setup:

``` bash
helm repo add kanister <https://charts.kanister.io/>
helm repo add kanister https://charts.kanister.io/
```

Use the `helm install` command to install Kanister in the `kanister`
namespace:

``` bash
helm -n kanister upgrade \--install kanister \--create-namespace
kanister/kanister-operator
helm -n kanister upgrade \
--install kanister \
--create-namespace kanister/kanister-operator
```

Confirm that the Kanister workloads are ready:
Expand Down Expand Up @@ -72,8 +73,10 @@ you will have to install Kanister with the
`--set controller.updateCRDs=false` option:

``` bash
helm -n kanister upgade \--install kanister \--create-namespace
kanister/kanister-operator \--set controller.updateCRDs=false
helm -n kanister upgrade \
--install kanister \
--create-namespace kanister/kanister-operator \
--set controller.updateCRDs=false
```

This option lets Helm manage the CRD resources.
Expand Down Expand Up @@ -101,10 +104,10 @@ Install Kanister, providing the PEM-encoded CA bundle and the
`tls` secret name like below:

``` bash
helm upgrade \--install kanister kanister/kanister-operator \--namespace
kanister \--create-namespace \--set bpValidatingWebhook.tls.mode=custom
\--set bpValidatingWebhook.tls.caBundle=\$(cat /path/to/ca.pem \| base64
-w 0) \--set bpValidatingWebhook.tls.secretName=tls-secret
helm upgrade --install kanister kanister/kanister-operator --namespace kanister --create-namespace \
--set bpValidatingWebhook.tls.mode=custom \
--set bpValidatingWebhook.tls.caBundle=$(cat /path/to/ca.pem | base64 -w 0) \
--set bpValidatingWebhook.tls.secretName=tls-secret
```

## Building and Deploying from Source
Expand Down