@@ -985,7 +985,7 @@ type PodSecurityPolicySpec struct {
985
985
// You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
986
986
// +optional
987
987
AllowedCapabilities []v1.Capability `json:"allowedCapabilities,omitempty" protobuf:"bytes,4,rep,name=allowedCapabilities,casttype=k8s.io/api/core/v1.Capability"`
988
- // volumes is a white list of allowed volume plugins. Empty indicates that
988
+ // volumes is an allowlist of volume plugins. Empty indicates that
989
989
// no volumes may be used. To allow all volumes you may use '*'.
990
990
// +optional
991
991
Volumes []FSType `json:"volumes,omitempty" protobuf:"bytes,5,rep,name=volumes,casttype=FSType"`
@@ -1029,23 +1029,23 @@ type PodSecurityPolicySpec struct {
1029
1029
// privilege escalation. If unspecified, defaults to true.
1030
1030
// +optional
1031
1031
AllowPrivilegeEscalation * bool `json:"allowPrivilegeEscalation,omitempty" protobuf:"varint,16,opt,name=allowPrivilegeEscalation"`
1032
- // allowedHostPaths is a white list of allowed host paths. Empty indicates
1032
+ // allowedHostPaths is an allowlist of host paths. Empty indicates
1033
1033
// that all host paths may be used.
1034
1034
// +optional
1035
1035
AllowedHostPaths []AllowedHostPath `json:"allowedHostPaths,omitempty" protobuf:"bytes,17,rep,name=allowedHostPaths"`
1036
- // allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all
1036
+ // allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all
1037
1037
// Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes
1038
1038
// is allowed in the "volumes" field.
1039
1039
// +optional
1040
1040
AllowedFlexVolumes []AllowedFlexVolume `json:"allowedFlexVolumes,omitempty" protobuf:"bytes,18,rep,name=allowedFlexVolumes"`
1041
- // AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.
1041
+ // AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.
1042
1042
// An empty value indicates that any CSI driver can be used for inline ephemeral volumes.
1043
1043
// +optional
1044
1044
AllowedCSIDrivers []AllowedCSIDriver `json:"allowedCSIDrivers,omitempty" protobuf:"bytes,23,rep,name=allowedCSIDrivers"`
1045
1045
// allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.
1046
1046
// Each entry is either a plain sysctl name or ends in "*" in which case it is considered
1047
1047
// as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed.
1048
- // Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
1048
+ // Kubelet has to allowlist all unsafe sysctls explicitly to avoid rejection.
1049
1049
//
1050
1050
// Examples:
1051
1051
// e.g. "foo/*" allows "foo/bar", "foo/baz", etc.
@@ -1061,7 +1061,7 @@ type PodSecurityPolicySpec struct {
1061
1061
// e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.
1062
1062
// +optional
1063
1063
ForbiddenSysctls []string `json:"forbiddenSysctls,omitempty" protobuf:"bytes,20,rep,name=forbiddenSysctls"`
1064
- // AllowedProcMountTypes is a whitelist of allowed ProcMountTypes.
1064
+ // AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.
1065
1065
// Empty or nil indicates that only the DefaultProcMountType may be used.
1066
1066
// This requires the ProcMountType feature flag to be enabled.
1067
1067
// +optional
@@ -1289,7 +1289,7 @@ const (
1289
1289
// RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses
1290
1290
// for a pod.
1291
1291
type RuntimeClassStrategyOptions struct {
1292
- // allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod.
1292
+ // allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
1293
1293
// A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the
1294
1294
// list. An empty list requires the RuntimeClassName field to be unset.
1295
1295
AllowedRuntimeClassNames []string `json:"allowedRuntimeClassNames" protobuf:"bytes,1,rep,name=allowedRuntimeClassNames"`
0 commit comments