Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: fix broken link #1055

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/cookbook/csi-in-nomad.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ secrets {
```

- `name`: JuiceFS file system name
- `token`: JuiceFS managed token. Read [this document](https://juicefs.com/docs/cloud/metadata#token-management) for more details.
- `token`: JuiceFS managed token. Read [this document](https://juicefs.com/docs/cloud/acl#access-token) for more details.
- `access-key`: Object storage access key
- `secret-key`: Object storage secret key

Expand Down
6 changes: 3 additions & 3 deletions docs/en/guide/pv.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Although in the examples below, secrets are usually named `juicefs-secret`, they

Create Kubernetes Secret:

```yaml {7-16}
```yaml
apiVersion: v1
kind: Secret
metadata:
Expand Down Expand Up @@ -65,7 +65,7 @@ Before continue, you should have already [created a file system](https://juicefs

Create Kubernetes Secret:

```yaml {7-14}
```yaml
apiVersion: v1
kind: Secret
metadata:
Expand Down Expand Up @@ -102,7 +102,7 @@ For Cloud Service, the `juicefs auth` command is somewhat similar to the `juicef

The JuiceFS Web Console is in charge of client authentication and distributing configuration files. In an on-premises deployment, the console address won't be [https://juicefs.com/console](https://juicefs.com/console), so it's required to specify the address for JuiceFS Web Console through `envs` field in volume credentials.

```yaml {12-13}
```yaml {15-16}
apiVersion: v1
metadata:
name: juicefs-secret
Expand Down
6 changes: 5 additions & 1 deletion docs/zh_cn/cookbook/csi-in-nomad.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,17 @@ plugin_id = "juicefs0"
secrets {
name="juicefs-volume"
token="**********"
access-key="*****"
secret-key="*****"
}
```

其中:

- `name`:JuiceFS 文件系统名称
- `token`:JuiceFS 管理 token。更多信息参考[这篇文档](https://juicefs.com/docs/zh/cloud/metadata#令牌管理)
- `token`:JuiceFS 管理 token。更多信息参考[这篇文档](https://juicefs.com/docs/zh/cloud/acl#access-token)
- `access-key`:对象存储的 access key。
- `secret-key`:对象存储的 secret key。

创建 volume:

Expand Down
10 changes: 5 additions & 5 deletions docs/zh_cn/guide/pv.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sidebar_position: 1

创建 Kubernetes Secret:

```yaml {7-16}
```yaml
apiVersion: v1
kind: Secret
metadata:
Expand Down Expand Up @@ -65,7 +65,7 @@ stringData:

创建 Kubernetes Secret:

```yaml {7-14}
```yaml
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -89,7 +89,7 @@ stringData:
字段说明:

- `name`:JuiceFS 文件系统名称
- `token`:访问 JuiceFS 文件系统所需的 token。更多信息参考[访问令牌](https://juicefs.com/docs/zh/cloud/acl/#%E8%AE%BF%E9%97%AE%E4%BB%A4%E7%89%8C)。
- `token`:访问 JuiceFS 文件系统所需的 token。更多信息参考[访问令牌](https://juicefs.com/docs/zh/cloud/acl#access-token)。
- `access-key`/`secret-key`:对象存储的认证信息
- `envs`:Mount Pod 的环境变量
- `format-options`:云服务 [`juicefs auth`](https://juicefs.com/docs/zh/cloud/commands_reference#auth) 命令所使用的的参数,作用是认证,以及生成挂载的配置文件
Expand All @@ -102,7 +102,7 @@ stringData:

JuiceFS Web 控制台负责着客户端的挂载认证、配置文件下发等工作。而在私有部署环境中,控制台的地址不再是 [https://juicefs.com/console](https://juicefs.com/console),因此需要在文件系统认证信息中通过 `envs` 字段额外指定控制台地址。

```yaml {12-13}
```yaml {15-16}
apiVersion: v1
metadata:
name: juicefs-secret
Expand All @@ -126,7 +126,7 @@ stringData:
字段说明:

- `name`:JuiceFS 文件系统名称
- `token`:访问 JuiceFS 文件系统所需的 token。更多信息参考[访问令牌](https://juicefs.com/docs/zh/cloud/acl/#%E8%AE%BF%E9%97%AE%E4%BB%A4%E7%89%8C)。
- `token`:访问 JuiceFS 文件系统所需的 token。更多信息参考[访问令牌](https://juicefs.com/docs/zh/cloud/acl#access-token)。
- `access-key`/`secret-key`:对象存储的认证信息
- `envs`:Mount Pod 的环境变量,在私有部署中需要额外填写 `BASE_URL`、`CFG_URL`,指向实际控制台地址
- `format-options`:云服务 [`juicefs auth`](https://juicefs.com/docs/zh/cloud/commands_reference#auth) 命令所使用的的参数,作用是认证,以及生成挂载的配置文件。该选项仅在 v0.13.3 及以上可用
Expand Down
Loading