Skip to content

Commit dfb663f

Browse files
authored
Merge pull request #48116 from my-git9/pp-20281
[zh-cn] sync role-binding-v1 daemon-set-v1
2 parents c909312 + 8ea217a commit dfb663f

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

content/zh-cn/docs/reference/kubernetes-api/authorization-resources/role-binding-v1.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,20 @@ RoleBinding 通过 Subjects 和所在的命名空间信息添加主体信息。
8282
- **roleRef.name** (string),必需
8383

8484
name 是被引用的资源的名称
85-
<!--
85+
86+
- **subjects** ([]Subject)
87+
<!--
88+
*Atomic: will be replaced during a merge*
89+
8690
Subjects holds references to the objects the role applies to.
8791
<a name="Subject"></a>
8892
*Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.*
8993
9094
- **subjects.kind** (string), required
9195
Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.
92-
-->
93-
- **subjects** ([]Subject)
96+
-->
97+
98+
**原子性:合并期间将被替换**
9499

95100
subjects 包含角色所适用的对象的引用。
96101

content/zh-cn/docs/reference/kubernetes-api/workload-resources/daemon-set-v1.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ api_metadata:
66
content_type: "api_reference"
77
description: "DaemonSet 表示守护进程集的配置。"
88
title: "DaemonSet"
9-
weight: 8
9+
weight: 9
1010
---
1111

1212
<!--
@@ -17,7 +17,7 @@ kind: "DaemonSet"
1717
content_type: "api_reference"
1818
description: "DaemonSet represents the configuration of a daemon set."
1919
title: "DaemonSet"
20-
weight: 8
20+
weight: 9
2121
auto_generated: true
2222
-->
2323

@@ -308,11 +308,15 @@ DaemonSetStatus 表示守护进程集的当前状态。
308308
- **conditions** ([]DaemonSetCondition)
309309
310310
*Patch strategy: merge on key `type`*
311+
312+
*Map: unique values on key type will be kept during a merge*
311313
-->
312314
- **conditions** ([]DaemonSetCondition)
313315

314316
**补丁策略:根据 `type` 键合并**
315317

318+
**Map:键 `type` 的唯一值将在合并期间保留**
319+
316320
<!--
317321
Represents the latest available observations of a DaemonSet's current state.
318322

0 commit comments

Comments
 (0)