File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
keps/sig-storage/1698-generic-ephemeral-volumes Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -232,11 +232,21 @@ directly. Cluster administrators must be made aware of this. If this
232
232
does not fit their security model, they can disable the feature
233
233
through the feature gate that will be added for the feature.
234
234
235
- In addition, with a new
235
+ In addition, with a new ` ephemeral ` value for
236
236
[ ` FSType ` ] ( https://github.com/kubernetes/kubernetes/blob/1fb0dd4ec5134014e466509163152112626d52c3/pkg/apis/policy/types.go#L278-L309 )
237
237
it will be possible to limit the usage of this volume source via the
238
238
[ PodSecurityPolicy
239
239
(PSP)] ( https://kubernetes.io/docs/concepts/policy/pod-security-policy/#volumes-and-file-systems ) .
240
+ If a PSP exists, ` FSType ` either has to include ` all ` or ` ephemeral `
241
+ for this feature to be allowed. If no PSP exists, the feature is
242
+ allowed.
243
+
244
+ Adding that new value is an API change for PSP because it changes
245
+ validation. When the feature is disabled, validation must tolerate
246
+ this new value in updates of existing PSP objects that already contain
247
+ the value, but must not allow it when creating a new PSP or updating a
248
+ PSP that does not already contain the value. When the feature is
249
+ enabled, validation must allow this value on any create or update.
240
250
241
251
The normal namespace quota for PVCs in a namespace still applies, so
242
252
even if users are allowed to use this new mechanism, they cannot use
You can’t perform that action at this time.
0 commit comments