Change env variable to match code from github issue resolution

This commit is contained in:
Catherine Luse
2019-08-07 15:24:03 -07:00
parent ad8a05e57e
commit 5a27ebd9b9
@@ -77,15 +77,14 @@ By default, Rancher generates a CA and uses cert manager to issue the certificat
--set hostname=<RANCHER.YOURDOMAIN.COM> \ --set hostname=<RANCHER.YOURDOMAIN.COM> \
--set rancherImage=<REGISTRY.YOURDOMAIN.COM:PORT>/rancher/rancher --set rancherImage=<REGISTRY.YOURDOMAIN.COM:PORT>/rancher/rancher
--set 'extraEnv[0].name=CATTLE_SYSTEM_DEFAULT_REGISTRY' --set 'extraEnv[0].name=CATTLE_SYSTEM_DEFAULT_REGISTRY'
--set 'extraEnv[0].value=<REGISTRY.YOURDOMAIN.COM>' --set 'extraEnv[0].value=<REGISTRY.YOURDOMAIN.COM:PORT>'
``` ```
Placeholder | Description Placeholder | Description
------------|------------- ------------|-------------
`<VERSION>` | The version number of the output tarball. `<VERSION>` | The version number of the output tarball.
`<RANCHER.YOURDOMAIN.COM>` | The DNS name you pointed at your load balancer. `<RANCHER.YOURDOMAIN.COM>` | The DNS name you pointed at your load balancer.
`<REGISTRY.YOURDOMAIN.COM:PORT>` | The DNS name for your private registry. `<REGISTRY.YOURDOMAIN.COM:PORT>` | The DNS name for your private registry. This configures Rancher to use your private registry when starting the `rancher/rancher` container.
`<REGISTRY.YOURDOMAIN.COM>` | The DNS name for your private registry. This configures Rancher to use your private registry when starting the `rancher/rancher` container.
{{% /accordion %}} {{% /accordion %}}
@@ -105,15 +104,14 @@ By default, Rancher generates a CA and uses cert manager to issue the certificat
--set rancherImage=<REGISTRY.YOURDOMAIN.COM:PORT>/rancher/rancher \ --set rancherImage=<REGISTRY.YOURDOMAIN.COM:PORT>/rancher/rancher \
--set ingress.tls.source=secret --set ingress.tls.source=secret
--set 'extraEnv[0].name=CATTLE_SYSTEM_DEFAULT_REGISTRY' --set 'extraEnv[0].name=CATTLE_SYSTEM_DEFAULT_REGISTRY'
--set 'extraEnv[0].value=<REGISTRY.YOURDOMAIN.COM>' --set 'extraEnv[0].value=<REGISTRY.YOURDOMAIN.COM:PORT>'
``` ```
Placeholder | Description Placeholder | Description
------------|------------- ------------|-------------
`<VERSION>` | The version number of the output tarball. `<VERSION>` | The version number of the output tarball.
`<RANCHER.YOURDOMAIN.COM>` | The DNS name you pointed at your load balancer. `<RANCHER.YOURDOMAIN.COM>` | The DNS name you pointed at your load balancer.
`<REGISTRY.YOURDOMAIN.COM:PORT>` | The DNS name for your private registry. `<REGISTRY.YOURDOMAIN.COM:PORT>` | The DNS name for your private registry. This configures Rancher to use your private registry when starting the `rancher/rancher` container.
`<REGISTRY.YOURDOMAIN.COM>` | The DNS name for your private registry. This configures Rancher to use your private registry when starting the `rancher/rancher` container.
> **Note:** If you are using a Private CA signed cert, add `--set privateCA=true` following `--set ingress.tls.source=secret` > **Note:** If you are using a Private CA signed cert, add `--set privateCA=true` following `--set ingress.tls.source=secret`