Skip to content

Commit

Permalink
Ajust the installation command
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Bista <anishbista053@gmail.com>
  • Loading branch information
anishbista60 committed Sep 14, 2024
1 parent cc74a71 commit 44adeff
Showing 1 changed file with 12 additions and 9 deletions.
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 @@ -63,8 +64,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 @@ -92,10 +95,10 @@ Install Kanister, providing the PEM-encoded CA bundle and the
[tls]{.title-ref} 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

0 comments on commit 44adeff

Please sign in to comment.