Add note to cacerts.pem filename when adding secret

This commit is contained in:
Sebastiaan van Steenis
2018-10-10 23:03:23 +02:00
committed by Denise
parent c1141a86f7
commit e78a48716f
@@ -11,8 +11,8 @@ Use `kubectl` with the `tls` secret type to create the secrets.
```
kubectl -n cattle-system create secret tls tls-rancher-ingress \
--cert=./tls.crt \
--key=./tls.key
--cert=tls.crt \
--key=tls.key
```
### Private CA Signed - Additional Steps
@@ -21,6 +21,8 @@ If you are using a private CA, Rancher will need to have a copy of the CA cert t
Copy the CA cert into a file named `cacerts.pem` and use `kubectl` to create the `tls-ca` secret in the `cattle-system` namespace.
>**Important:** Make sure the file is called `cacerts.pem` as Rancher uses that filename to configure the CA cert.
```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem