Skip to content

Commit

Permalink
[zh] sync list-all-running-container-images security-context release-…
Browse files Browse the repository at this point in the history
…managers

Signed-off-by: xin.li <xin.li@daocloud.io>
  • Loading branch information
my-git9 committed Oct 1, 2022
1 parent 2fb4fc2 commit 7385690
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,6 @@ sort |\
uniq -c
```

<!--
The above command will recursively return all fields named `image`
for all items returned.
As an alternative, it is possible to use the absolute path to the image
field within the Pod. This ensures the correct field is retrieved
even when the field name is repeated,
e.g. many fields are called `name` within a given item:
-->
上面的命令将递归获取所有返回项目的名为 `image` 的字段。

作为替代方案,可以使用 Pod 的镜像字段的绝对路径。这确保即使字段名称重复的情况下也能检索到正确的字段,例如,特定项目中的许多字段都称为 `name`

```shell
kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}"
```

<!--
The jsonpath is interpreted as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ for a volume.
This field only applies to volume types that support `fsGroup` controlled ownership and permissions.
This field has two possible values:
* _OnRootMismatch_: Only change permissions and ownership if permission and ownership of
* _OnRootMismatch_: Only change permissions and ownership if the permission and the ownership of
root directory does not match with expected permissions of the volume.
This could help shorten the time it takes to change ownership and permission of a volume.
* _Always_: Always change permission and ownership of the volume when volume is mounted.
Expand Down
2 changes: 2 additions & 0 deletions content/zh-cn/releases/release-managers.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ GitHub Mentions: @kubernetes/release-engineering
GitHub 提及:@kubernetes/release-engineering

- Arnaud Meukam ([@ameukam](https://github.com/ameukam))
- Cici Huang ([@cici37](https://github.com/cici37))
- Jeremy Rickard ([@jeremyrickard](https://github.com/jeremyrickard))
- Jim Angel ([@jimangel](https://github.com/jimangel))
- Joseph Sandoval ([@jrsapi](https://github.com/jrsapi))
Expand All @@ -254,6 +255,7 @@ GitHub 提及:@kubernetes/release-engineering
- Seth McCombs ([@sethmccombs](https://github.com/sethmccombs))
- Taylor Dolezal ([@onlydole](https://github.com/onlydole))
- Wilson Husin ([@wilsonehusin](https://github.com/wilsonehusin))
- Xander Grzywinski([@salaxander](https://github.com/salaxander))

<!--
### Becoming a Release Manager Associate
Expand Down

0 comments on commit 7385690

Please sign in to comment.