From 9a0c505282308ab1c082272c9216bcd70c3b6b66 Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Tue, 17 Dec 2024 20:01:05 +0800 Subject: [PATCH] [zh-cn]sync apiserver-config.v1alpha1 kubeadm_upgrade_apply_phase_addon Signed-off-by: xin.li --- .../config-api/apiserver-config.v1alpha1.md | 49 ++++++++++++- .../kubeadm_upgrade_apply_phase_addon.md | 72 +++++++++++++++++++ 2 files changed, 119 insertions(+), 2 deletions(-) create mode 100644 content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade/kubeadm_upgrade_apply_phase_addon.md diff --git a/content/zh-cn/docs/reference/config-api/apiserver-config.v1alpha1.md b/content/zh-cn/docs/reference/config-api/apiserver-config.v1alpha1.md index a21b9078ef74e..107b013c9c8d4 100644 --- a/content/zh-cn/docs/reference/config-api/apiserver-config.v1alpha1.md +++ b/content/zh-cn/docs/reference/config-api/apiserver-config.v1alpha1.md @@ -1916,13 +1916,58 @@ Required, if connectionInfo.Type is KubeConfig CEL expressions have access to the contents of the SubjectAccessReview in v1 version. If version specified by subjectAccessReviewVersion in the request variable is v1beta1, the contents would be converted to the v1 version before evaluating the CEL expression.

-

Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/

-->

表达式表示将由 CEL 求值的表达式。求值结果必须为布尔值。 CEL 表达式可以访问 v1 版本中的 SubjectAccessReview 的内容。 如果请求变量中 subjectAccessReviewVersion 指定的版本是 v1beta1, 在计算 CEL 表达式之前,内容将被转换为 v1 版本。

-

关于 CEL 文档: https://kubernetes.io/zh-cn/docs/reference/using-api/cel/

+ + +

+ +关于 CEL 文档:https://kubernetes.io/zh-cn/docs/reference/using-api/cel/ +

diff --git a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade/kubeadm_upgrade_apply_phase_addon.md b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade/kubeadm_upgrade_apply_phase_addon.md new file mode 100644 index 0000000000000..872fe596c329a --- /dev/null +++ b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade/kubeadm_upgrade_apply_phase_addon.md @@ -0,0 +1,72 @@ + +升级默认的 kubeadm 插件 + + +### 概要 + + +升级默认的 kubeadm 插件 + +```shell +kubeadm upgrade apply phase addon [flags] +``` + +### Options + + ++++ + + + + + + + + + + +
-h, --help
+ +

+addon 操作的帮助命令。 +

+
+ + +### 从父命令继承的选项 + + ++++ + + + + + + + + + + +
--rootfs string

+ +到“真实”主机根文件系统的路径。设置此参数将导致 kubeadm 切换到所提供的路径。 +

+