Skip to content

Commit 95642f5

Browse files
Merge branch 'kubernetes:main' into main
2 parents b508156 + e22e4c5 commit 95642f5

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ CONTAINER_ENGINE ?= docker
99
IMAGE_REGISTRY ?= gcr.io/k8s-staging-sig-docs
1010
IMAGE_VERSION=$(shell scripts/hash-files.sh Dockerfile Makefile | cut -c 1-12)
1111
CONTAINER_IMAGE = $(IMAGE_REGISTRY)/k8s-website-hugo:v$(HUGO_VERSION)-$(IMAGE_VERSION)
12-
CONTAINER_RUN = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume "$(CURDIR):/src"
12+
# Mount read-only to allow use with tools like Podman in SELinux mode
13+
# Container targets don't need to write into /src
14+
CONTAINER_RUN = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume "$(CURDIR):/src:ro,Z"
1315

1416
CCRED=\033[0;31m
1517
CCEND=\033[0m

content/en/docs/concepts/overview/working-with-objects/finalizers.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ weight: 80
88

99
{{<glossary_definition term_id="finalizer" length="long">}}
1010

11-
You can use finalizers to control {{<glossary_tooltip text="garbage collection" term_id="garbage-collection">}}
12-
of resources by alerting {{<glossary_tooltip text="controllers" term_id="controller">}} to perform specific cleanup tasks before
13-
deleting the target resource.
14-
1511
Finalizers don't usually specify the code to execute. Instead, they are
1612
typically lists of keys on a specific resource similar to annotations.
1713
Kubernetes specifies some finalizers automatically, but you can also specify

content/en/docs/concepts/security/service-accounts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,12 @@ following methods:
171171
If you have a legacy application that is not aware of Kubernetes, you
172172
could use a sidecar container within the same pod to fetch these tokens
173173
and make them available to the application workload.
174-
* [Token Volume Projection](/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection)
174+
* [Token Volume Projection](/docs/tasks/configure-pod-container/configure-service-account/#serviceaccount-token-volume-projection)
175175
(also recommended): In Kubernetes v1.20 and later, use the Pod specification to
176176
tell the kubelet to add the service account token to the Pod as a
177177
*projected volume*. Projected tokens expire automatically, and the kubelet
178178
rotates the token before it expires.
179-
* [Service Account Token Secrets](/docs/tasks/configure-pod-container/configure-service-account/#manually-create-a-service-account-api-token)
179+
* [Service Account Token Secrets](/docs/tasks/configure-pod-container/configure-service-account/#manually-create-an-api-token-for-a-serviceaccount)
180180
(not recommended): You can mount service account tokens as Kubernetes
181181
Secrets in Pods. These tokens don't expire and don't rotate.
182182
This method is not recommended, especially at scale, because of the risks associated

content/en/docs/tutorials/stateful-application/basic-stateful-set.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ web-0
254254
web-1
255255
```
256256
then, run:
257-
```
258-
kubectl run -i --tty --image busybox:1.28 dns-test --restart=Never --rm /bin/sh
257+
```shell
258+
kubectl run -i --tty --image busybox:1.28 dns-test --restart=Never --rm
259259
```
260260
which starts a new shell.
261261
In that new shell, run:

content/zh-cn/docs/setup/production-environment/tools/kubespray.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,14 @@ Kubespray provides the following utilities to help provision your environment:
114114
* [Terraform](https://www.terraform.io/) scripts for the following cloud providers:
115115
* [AWS](https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/aws)
116116
* [OpenStack](https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/openstack)
117-
* [Equinix Metal](https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/metal)
117+
* [Equinix Metal](https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/equinix)
118118
-->
119119
Kubespray 提供以下实用程序来帮助你设置环境:
120120

121121
* 为以下云驱动提供的 [Terraform](https://www.terraform.io/) 脚本:
122122
* [AWS](https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/aws)
123123
* [OpenStack](https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/openstack)
124-
* [Equinix Metal](https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/metal)
124+
* [Equinix Metal](https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/equinix)
125125

126126
<!--
127127
### (2/5) Compose an inventory file

0 commit comments

Comments
 (0)