-
Notifications
You must be signed in to change notification settings - Fork 1.6k
zh-translation:/docs/ops/setup/validation/index.md #5354
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
Conversation
Hi @Lovnx. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@@ -1,25 +1,15 @@ | |||
--- | |||
title: Configuration Validation Webhook | |||
description: Describes Istio's use of Kubernetes webhooks for server-side configuration validation. | |||
description: 描述 Istio 使用 Kubernetes webhooks 来进行服务端配置。 | |||
weight: 20 | |||
aliases: | |||
- /help/ops/setup/validation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请增加 /zh
前缀。
@@ -3,7 +3,7 @@ title: Configuration Validation Webhook | |||
description: 描述 Istio 使用 Kubernetes webhooks 来进行服务端配置。 | |||
weight: 20 | |||
aliases: | |||
- /help/ops/setup/validation | |||
- /zh/docs/ops/setup/validation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
只要在原路径的基础上加上 /zh
前缀即可,不要再加 docs。
@@ -3,7 +3,7 @@ title: Configuration Validation Webhook | |||
description: 描述 Istio 使用 Kubernetes webhooks 来进行服务端配置。 | |||
weight: 20 | |||
aliases: | |||
- /help/ops/setup/validation | |||
- /zh/docs/ops/setup/validation | |||
--- | |||
|
|||
Galley 的配置验证可确保用户编写的 Istio 配置在语法和语义上均有效。它使用了 Kubernetes 的 `ValidatingWebhook`。`istio-galley` 的 `ValidatingWebhookConfiguration` 配置有两个 webhooks 。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
webhook 不需要使用复数。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need change.
responsible for validating configuration consumed by Mixer. | ||
* `mixer.validation.istio.io` - 它通过 `/admitmixer` 路径提供服务,并负责验证 Mixer 使用的配置。 | ||
|
||
这两个 webhooks 都经 `istio-galley` 在443端口提供服务, 每个 webhook 都有自己的 `clientConfig`、`namespaceSelector`和 `rules` 部分,作用于所有命名空间,其中`namespaceSelector` 应该为空, 所有 `rules` 都适用于 Istio Custom Resource Definitions (CRDs)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
数字跟文字之间需要加空格。CRDs -> CRD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need changes.
@@ -12,5 +12,5 @@ Galley 的配置验证可确保用户编写的 Istio 配置在语法和语义上 | |||
|
|||
* `mixer.validation.istio.io` - 它通过 `/admitmixer` 路径提供服务,并负责验证 Mixer 使用的配置。 | |||
|
|||
这两个 webhooks 都经 `istio-galley` 在 443 端口提供服务, 每个 webhook 都有自己的 `clientConfig`、`namespaceSelector`和 `rules` 部分,作用于所有命名空间,其中`namespaceSelector` 应该为空, 所有 `rules` 都适用于 Istio Custom Resource Definitions (CRDs)。 | |||
这两个 webhooks 都经 `istio-galley` 在 443 端口提供服务, 每个 webhook 都有自己的 `clientConfig`、`namespaceSelector`和 `rules` 部分,作用于所有命名空间,其中`namespaceSelector` 应该为空, 所有 `rules` 都适用于 Istio Custom Resource Definitions (CRD)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中英文之间请加空格。
@@ -12,5 +12,5 @@ Galley 的配置验证可确保用户编写的 Istio 配置在语法和语义上 | |||
|
|||
* `mixer.validation.istio.io` - 它通过 `/admitmixer` 路径提供服务,并负责验证 Mixer 使用的配置。 | |||
|
|||
这两个 webhooks 都经 `istio-galley` 在 443 端口提供服务, 每个 webhook 都有自己的 `clientConfig`、`namespaceSelector`和 `rules` 部分,作用于所有命名空间,其中`namespaceSelector` 应该为空, 所有 `rules` 都适用于 Istio Custom Resource Definitions (CRD)。 | |||
这两个 webhooks 都经 `istio-galley` 在 443 端口提供服务, 每个 webhook 都有自己的 `clientConfig`、`namespaceSelector` 和 `rules` 部分,作用于所有命名空间,其中 `namespaceSelector` 应该为空, 所有 `rules` 都适用于 Istio Custom Resource Definitions (CRD)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
webhook 改用单数。
/ok-to-test |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
ref: servicemesher/istio-official-translation#1089