Added Documents for kubernetes.io/enforce-mountable-secrets. (#31864)

* Added Documents for kubernetes.io/enforce-mountable-secrets.

* Modified the enforce-mountable-secrets docs.
This commit is contained in:
Shubham
2022-02-28 07:36:56 +05:30
committed by GitHub
parent dea4f2b103
commit 8c7d4c2ae2
@@ -80,6 +80,14 @@ Used on: All Objects
This annotation is used for describing specific behaviour of given object.
## kubernetes.io/enforce-mountable-secrets {#enforce-mountable-secrets}
Example: `kubernetes.io/enforce-mountable-secrets: "true"`
Used on: ServiceAccount
The value for this annotation must be **true** to take effect. This annotation indicates that pods running as this service account may only reference Secret API objects specified in the service account's `secrets` field.
## controller.kubernetes.io/pod-deletion-cost {#pod-deletion-cost}
Example: `controller.kubernetes.io/pod-deletion-cost=10`