Skip to content
Snippets Groups Projects
Verified Commit 3ede72b8 authored by David Hoese's avatar David Hoese
Browse files

Rearrange the README to use the preferred YAML values method first

parent c8965bfd
Branches
No related tags found
No related merge requests found
...@@ -117,14 +117,8 @@ Dependencies: ...@@ -117,14 +117,8 @@ Dependencies:
2. A default SSL certificate for the Ingress Controller on the cluster. This 2. A default SSL certificate for the Ingress Controller on the cluster. This
is typically automatically configured by TC for rancher-based clusters. is typically automatically configured by TC for rancher-based clusters.
One way to do this installation is to change individual values of the helm The easiest way to change the configuration of the helm chart is to store the
chart's defaults (stored in `chart/helm-nginx-example/values.yaml`). changed values in a separate YAML file:
```bash
helm install -n davidh-test --set ingress.enabled=true --set ingress.hosts[0].host="beta-geosphere2.ssec.wisc.edu" --set ingress.hosts[0].paths[0].path="/" --set ingress.tls[0].hosts[0]="beta-geosphere2.ssec.wisc.edu" test-nginx chart/helm-nginx-example
```
Alternatively, you could store this configuration in a separate YAML file:
```yaml ```yaml
# my-values.yaml # my-values.yaml
...@@ -146,6 +140,15 @@ And then specify the YAML file on the command line: ...@@ -146,6 +140,15 @@ And then specify the YAML file on the command line:
helm install -n davidh-test --values my-values.yaml test-nginx chart/helm-nginx-example helm install -n davidh-test --values my-values.yaml test-nginx chart/helm-nginx-example
``` ```
Alternatively, another way to do this installation is to change individual
values of the helm chart's defaults (stored in
`chart/helm-nginx-example/values.yaml`) on the command line. However, this
quickly gets unruly.
```bash
helm install -n davidh-test --set ingress.enabled=true --set ingress.hosts[0].host="beta-geosphere2.ssec.wisc.edu" --set ingress.hosts[0].paths[0].path="/" --set ingress.tls[0].hosts[0]="beta-geosphere2.ssec.wisc.edu" test-nginx chart/helm-nginx-example
```
Using either of these methods, you should then be able to go to your URL Using either of these methods, you should then be able to go to your URL
(ex. "https://my-url.ssec.wisc.edu") and see the nginx welcome page. If your (ex. "https://my-url.ssec.wisc.edu") and see the nginx welcome page. If your
certificates are properly set up then you shouldn't need to accept the certificates are properly set up then you shouldn't need to accept the
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment