Skip to content

Commit

Permalink
Merge pull request #1495 from celidon/patch-4
Browse files Browse the repository at this point in the history
Update add-tls-secrets.md
  • Loading branch information
btat authored Oct 25, 2024
2 parents e72dd4f + 0673552 commit e85c0b5
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand All @@ -46,4 +46,4 @@ The configured `tls-ca` secret is retrieved when Rancher starts. On a running Ra

## Updating a Private CA Certificate

Follow the steps on [this page](update-rancher-certificate.md) to update the SSL certificate of the ingress in a Rancher [high availability Kubernetes installation](../install-upgrade-on-a-kubernetes-cluster/install-upgrade-on-a-kubernetes-cluster.md) or to switch from the default self-signed certificate to a custom certificate.
Follow the steps on [this page](update-rancher-certificate.md) to update the SSL certificate of the ingress in a Rancher [high availability Kubernetes installation](../install-upgrade-on-a-kubernetes-cluster/install-upgrade-on-a-kubernetes-cluster.md) or to switch from the default self-signed certificate to a custom certificate.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

> **Note:** The configured `tls-ca` secret is retrieved when Rancher starts. On a running Rancher installation the updated CA will take effect after new Rancher pods are started.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

> **Note:** The configured `tls-ca` secret is retrieved when Rancher starts. On a running Rancher installation the updated CA will take effect after new Rancher pods are started.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or

```
kubectl -n cattle-system create secret generic tls-ca \
--from-file=cacerts.pem=./cacerts.pem
--from-file=cacerts.pem
```

:::note
Expand Down

0 comments on commit e85c0b5

Please sign in to comment.