Skip to content

Commit

Permalink
typo: fix secret name in qa. (#4353)
Browse files Browse the repository at this point in the history
  • Loading branch information
lingdie authored Nov 28, 2023
1 parent 4a67761 commit f72c295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/4.0/docs/self-hosting/sealos/QA.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ Certificates are crucial for the security of your Sealos cluster. Follow these s
On the `master0` node, backup your current certificate. This step is crucial to prevent loss of the certificate during the update process. Use this command:

```shell
$ kubectl get secret -n sealos-system wildcard-secret -o yaml > cert-backup.yaml
$ kubectl get secret -n sealos-system wildcard-cert -o yaml > cert-backup.yaml
```

This will save the `wildcard-secret` certificate in YAML format to `cert-backup.yaml`.
This will save the `wildcard-cert` certificate in YAML format to `cert-backup.yaml`.

2. **Storing the New Certificate**:

Expand Down
4 changes: 2 additions & 2 deletions docs/4.0/i18n/zh-Hans/self-hosting/sealos/QA.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ $ echo 1 > /proc/sys/net/ipv4/ip_forward
在主节点 `master0` 上,您需要先备份当前使用的证书。这是一个防止更新过程中出现问题而导致证书丢失的重要步骤。使用以下命令进行备份:

```shell
$ kubectl get secret -n sealos-system wildcard-secret -o yaml > cert-backup.yaml
$ kubectl get secret -n sealos-system wildcard-cert -o yaml > cert-backup.yaml
```

此命令会将名为 `wildcard-secret` 的证书以 YAML 格式保存到文件 `cert-backup.yaml` 中。
此命令会将名为 `wildcard-cert` 的证书以 YAML 格式保存到文件 `cert-backup.yaml` 中。

2. **保存新证书**

Expand Down

0 comments on commit f72c295

Please sign in to comment.