Convert all helm-template instructions to helm-install (#828)

* Adjust command to install cert-manager

The directory `cert-manager` is not created when using `helm install`
instead of `helm template --output-dir .`.

Also, the CRDs are downloaded in the current directory, so adjust the
commands as well.

* Convert helm template to helm upgrade/install

Since we're using Helm hooks, we cannot use `helm template`, otherwise
things will break. The commands are updated to use `helm install` and
`helm upgrade`.
This commit is contained in:
Tom Lebreux
2023-09-13 18:02:02 -04:00
committed by GitHub
parent 7922b74630
commit f6a70125b1
9 changed files with 36 additions and 84 deletions
@@ -122,7 +122,7 @@ Copy the fetched charts to a system that has access to the Rancher server cluste
##### 1. Install Cert-Manager
Install cert-manager with the options you would like to use to install the chart. Remember to set the `image.repository` option to pull the image from your private registry. This will create a `cert-manager` directory with the Kubernetes manifest files.
Install cert-manager with the same options you would use to install the chart. Remember to set the `image.repository` option to pull the image from your private registry.
:::note
@@ -144,7 +144,7 @@ If you are using self-signed certificates, install cert-manager:
2. Create the cert-manager CustomResourceDefinitions (CRDs).
```plain
kubectl apply -f cert-manager/cert-manager-crd.yaml
kubectl apply -f cert-manager-crd.yaml
```
3. Install cert-manager.