@@ -375,7 +375,7 @@ PVC 对象还保持着卷的当前状态。
375
375
376
376
<!--
377
377
Naming of the automatically created PVCs is deterministic : the name is
378
- a combination of Pod name and volume name, with a hyphen (`-`) in the
378
+ a combination of the Pod name and volume name, with a hyphen (`-`) in the
379
379
middle. In the example above, the PVC name will be
380
380
` my-app-scratch-volume` . This deterministic naming makes it easier to
381
381
interact with the PVC because one does not have to search for it once
@@ -421,18 +421,14 @@ same namespace, so that these conflicts can't occur.
421
421
# ## 安全 {#security}
422
422
423
423
<!--
424
- Enabling the GenericEphemeralVolume feature allows users to create
425
- PVCs indirectly if they can create Pods, even if they do not have
426
- permission to create PVCs directly. Cluster administrators must be
427
- aware of this. If this does not fit their security model, they should
428
- use an [admission webhook](/docs/reference/access-authn-authz/extensible-admission-controllers/)
429
- that rejects objects like Pods that have a generic ephemeral volume.
424
+ Using generic ephemeral volumes allows users to create PVCs indirectly
425
+ if they can create Pods, even if they do not have permission to create PVCs directly.
426
+ Cluster administrators must be aware of this. If this does not fit their security model,
427
+ they should use an [admission webhook](/docs/reference/access-authn-authz/extensible-admission-controllers/)
430
428
-->
431
- 启用 GenericEphemeralVolume 特性会有一些副作用,用户能创建 Pod 就能间接地创建 PVC,
432
- 即使他们没有权限直接创建 PVC。
433
- 集群管理员必须意识到这一点。
434
- 如果这不符合他们的安全模型,他们应该使用[准入 Webhook](/zh-cn/docs/reference/access-authn-authz/extensible-admission-controllers/)
435
- 拒绝包含通用临时卷的对象,例如 Pod。
429
+ 只要用户有权限创建 Pod,就可以使用通用的临时卷间接地创建持久卷申领(PVCs),
430
+ 即使他们没有权限直接创建 PVCs。集群管理员必须注意这一点。如果这与他们的安全模型相悖,
431
+ 他们应该使用[准入 Webhook](/zh-cn/docs/reference/access-authn-authz/extensible-admission-controllers/)。
436
432
437
433
<!--
438
434
The normal [namespace quota for PVCs](/docs/concepts/policy/resource-quotas/#storage-resource-quota)
0 commit comments