Package io.kubernetes.client.proto
Class V1beta1Policy.PodSecurityPolicySpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
io.kubernetes.client.proto.V1beta1Policy.PodSecurityPolicySpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Policy.PodSecurityPolicySpecOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Policy.PodSecurityPolicySpec
public static final class V1beta1Policy.PodSecurityPolicySpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
implements V1beta1Policy.PodSecurityPolicySpecOrBuilder
PodSecurityPolicySpec defines the policy enforced.Protobuf type
k8s.io.api.policy.v1beta1.PodSecurityPolicySpec
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedCapabilities
(Iterable<String> values) allowedCapabilities is a list of capabilities that can be requested to add to the container.addAllAllowedCSIDrivers
(Iterable<? extends V1beta1Policy.AllowedCSIDriver> values) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.addAllAllowedFlexVolumes
(Iterable<? extends V1beta1Policy.AllowedFlexVolume> values) allowedFlexVolumes is an allowlist of Flexvolumes.addAllAllowedHostPaths
(Iterable<? extends V1beta1Policy.AllowedHostPath> values) allowedHostPaths is an allowlist of host paths.addAllAllowedProcMountTypes
(Iterable<String> values) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.addAllAllowedUnsafeSysctls
(Iterable<String> values) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.addAllDefaultAddCapabilities
(Iterable<String> values) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.addAllForbiddenSysctls
(Iterable<String> values) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.addAllHostPorts
(Iterable<? extends V1beta1Policy.HostPortRange> values) hostPorts determines which host port ranges are allowed to be exposed.addAllowedCapabilities
(String value) allowedCapabilities is a list of capabilities that can be requested to add to the container.addAllowedCapabilitiesBytes
(com.google.protobuf.ByteString value) allowedCapabilities is a list of capabilities that can be requested to add to the container.addAllowedCSIDrivers
(int index, V1beta1Policy.AllowedCSIDriver value) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.addAllowedCSIDrivers
(int index, V1beta1Policy.AllowedCSIDriver.Builder builderForValue) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.addAllowedCSIDrivers
(V1beta1Policy.AllowedCSIDriver.Builder builderForValue) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.addAllowedCSIDriversBuilder
(int index) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.addAllowedFlexVolumes
(int index, V1beta1Policy.AllowedFlexVolume value) allowedFlexVolumes is an allowlist of Flexvolumes.addAllowedFlexVolumes
(int index, V1beta1Policy.AllowedFlexVolume.Builder builderForValue) allowedFlexVolumes is an allowlist of Flexvolumes.allowedFlexVolumes is an allowlist of Flexvolumes.addAllowedFlexVolumes
(V1beta1Policy.AllowedFlexVolume.Builder builderForValue) allowedFlexVolumes is an allowlist of Flexvolumes.allowedFlexVolumes is an allowlist of Flexvolumes.addAllowedFlexVolumesBuilder
(int index) allowedFlexVolumes is an allowlist of Flexvolumes.addAllowedHostPaths
(int index, V1beta1Policy.AllowedHostPath value) allowedHostPaths is an allowlist of host paths.addAllowedHostPaths
(int index, V1beta1Policy.AllowedHostPath.Builder builderForValue) allowedHostPaths is an allowlist of host paths.allowedHostPaths is an allowlist of host paths.addAllowedHostPaths
(V1beta1Policy.AllowedHostPath.Builder builderForValue) allowedHostPaths is an allowlist of host paths.allowedHostPaths is an allowlist of host paths.addAllowedHostPathsBuilder
(int index) allowedHostPaths is an allowlist of host paths.addAllowedProcMountTypes
(String value) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.addAllowedProcMountTypesBytes
(com.google.protobuf.ByteString value) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.addAllowedUnsafeSysctls
(String value) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.addAllowedUnsafeSysctlsBytes
(com.google.protobuf.ByteString value) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.addAllRequiredDropCapabilities
(Iterable<String> values) requiredDropCapabilities are the capabilities that will be dropped from the container.addAllVolumes
(Iterable<String> values) volumes is an allowlist of volume plugins.addDefaultAddCapabilities
(String value) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.addDefaultAddCapabilitiesBytes
(com.google.protobuf.ByteString value) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.addForbiddenSysctls
(String value) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.addForbiddenSysctlsBytes
(com.google.protobuf.ByteString value) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.addHostPorts
(int index, V1beta1Policy.HostPortRange value) hostPorts determines which host port ranges are allowed to be exposed.addHostPorts
(int index, V1beta1Policy.HostPortRange.Builder builderForValue) hostPorts determines which host port ranges are allowed to be exposed.hostPorts determines which host port ranges are allowed to be exposed.addHostPorts
(V1beta1Policy.HostPortRange.Builder builderForValue) hostPorts determines which host port ranges are allowed to be exposed.hostPorts determines which host port ranges are allowed to be exposed.addHostPortsBuilder
(int index) hostPorts determines which host port ranges are allowed to be exposed.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) requiredDropCapabilities are the capabilities that will be dropped from the container.addRequiredDropCapabilitiesBytes
(com.google.protobuf.ByteString value) requiredDropCapabilities are the capabilities that will be dropped from the container.addVolumes
(String value) volumes is an allowlist of volume plugins.addVolumesBytes
(com.google.protobuf.ByteString value) volumes is an allowlist of volume plugins.build()
clear()
allowedCapabilities is a list of capabilities that can be requested to add to the container.AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.allowedFlexVolumes is an allowlist of Flexvolumes.allowedHostPaths is an allowlist of host paths.AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.allowPrivilegeEscalation determines if a pod can request to allow privilege escalation.defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.hostIPC determines if the policy allows the use of HostIPC in the pod spec.hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.hostPID determines if the policy allows the use of HostPID in the pod spec.hostPorts determines which host port ranges are allowed to be exposed.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) privileged determines if a pod can request to be run as privileged.readOnlyRootFilesystem when set to true will force containers to run with a read only root file system.requiredDropCapabilities are the capabilities that will be dropped from the container.RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.seLinux is the strategy that will dictate the allowable labels that may be set.supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.volumes is an allowlist of volume plugins.clone()
getAllowedCapabilities
(int index) allowedCapabilities is a list of capabilities that can be requested to add to the container.com.google.protobuf.ByteString
getAllowedCapabilitiesBytes
(int index) allowedCapabilities is a list of capabilities that can be requested to add to the container.int
allowedCapabilities is a list of capabilities that can be requested to add to the container.com.google.protobuf.ProtocolStringList
allowedCapabilities is a list of capabilities that can be requested to add to the container.getAllowedCSIDrivers
(int index) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.getAllowedCSIDriversBuilder
(int index) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.int
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.getAllowedCSIDriversOrBuilder
(int index) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.List<? extends V1beta1Policy.AllowedCSIDriverOrBuilder>
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.getAllowedFlexVolumes
(int index) allowedFlexVolumes is an allowlist of Flexvolumes.getAllowedFlexVolumesBuilder
(int index) allowedFlexVolumes is an allowlist of Flexvolumes.allowedFlexVolumes is an allowlist of Flexvolumes.int
allowedFlexVolumes is an allowlist of Flexvolumes.allowedFlexVolumes is an allowlist of Flexvolumes.getAllowedFlexVolumesOrBuilder
(int index) allowedFlexVolumes is an allowlist of Flexvolumes.List<? extends V1beta1Policy.AllowedFlexVolumeOrBuilder>
allowedFlexVolumes is an allowlist of Flexvolumes.getAllowedHostPaths
(int index) allowedHostPaths is an allowlist of host paths.getAllowedHostPathsBuilder
(int index) allowedHostPaths is an allowlist of host paths.allowedHostPaths is an allowlist of host paths.int
allowedHostPaths is an allowlist of host paths.allowedHostPaths is an allowlist of host paths.getAllowedHostPathsOrBuilder
(int index) allowedHostPaths is an allowlist of host paths.List<? extends V1beta1Policy.AllowedHostPathOrBuilder>
allowedHostPaths is an allowlist of host paths.getAllowedProcMountTypes
(int index) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.com.google.protobuf.ByteString
getAllowedProcMountTypesBytes
(int index) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.int
AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.com.google.protobuf.ProtocolStringList
AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.getAllowedUnsafeSysctls
(int index) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.com.google.protobuf.ByteString
getAllowedUnsafeSysctlsBytes
(int index) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.int
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.com.google.protobuf.ProtocolStringList
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.boolean
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation.getDefaultAddCapabilities
(int index) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.com.google.protobuf.ByteString
getDefaultAddCapabilitiesBytes
(int index) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.int
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.com.google.protobuf.ProtocolStringList
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.boolean
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getForbiddenSysctls
(int index) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.com.google.protobuf.ByteString
getForbiddenSysctlsBytes
(int index) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.int
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.com.google.protobuf.ProtocolStringList
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.boolean
hostIPC determines if the policy allows the use of HostIPC in the pod spec.boolean
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.boolean
hostPID determines if the policy allows the use of HostPID in the pod spec.getHostPorts
(int index) hostPorts determines which host port ranges are allowed to be exposed.getHostPortsBuilder
(int index) hostPorts determines which host port ranges are allowed to be exposed.hostPorts determines which host port ranges are allowed to be exposed.int
hostPorts determines which host port ranges are allowed to be exposed.hostPorts determines which host port ranges are allowed to be exposed.getHostPortsOrBuilder
(int index) hostPorts determines which host port ranges are allowed to be exposed.List<? extends V1beta1Policy.HostPortRangeOrBuilder>
hostPorts determines which host port ranges are allowed to be exposed.boolean
privileged determines if a pod can request to be run as privileged.boolean
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system.getRequiredDropCapabilities
(int index) requiredDropCapabilities are the capabilities that will be dropped from the container.com.google.protobuf.ByteString
getRequiredDropCapabilitiesBytes
(int index) requiredDropCapabilities are the capabilities that will be dropped from the container.int
requiredDropCapabilities are the capabilities that will be dropped from the container.com.google.protobuf.ProtocolStringList
requiredDropCapabilities are the capabilities that will be dropped from the container.RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.seLinux is the strategy that will dictate the allowable labels that may be set.seLinux is the strategy that will dictate the allowable labels that may be set.seLinux is the strategy that will dictate the allowable labels that may be set.supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.getVolumes
(int index) volumes is an allowlist of volume plugins.com.google.protobuf.ByteString
getVolumesBytes
(int index) volumes is an allowlist of volume plugins.int
volumes is an allowlist of volume plugins.com.google.protobuf.ProtocolStringList
volumes is an allowlist of volume plugins.boolean
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation.boolean
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.boolean
fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.boolean
hostIPC determines if the policy allows the use of HostIPC in the pod spec.boolean
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.boolean
hostPID determines if the policy allows the use of HostPID in the pod spec.boolean
privileged determines if a pod can request to be run as privileged.boolean
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system.boolean
RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.boolean
runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.boolean
runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.boolean
seLinux is the strategy that will dictate the allowable labels that may be set.boolean
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.seLinux is the strategy that will dictate the allowable labels that may be set.supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeAllowedCSIDrivers
(int index) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.removeAllowedFlexVolumes
(int index) allowedFlexVolumes is an allowlist of Flexvolumes.removeAllowedHostPaths
(int index) allowedHostPaths is an allowlist of host paths.removeHostPorts
(int index) hostPorts determines which host port ranges are allowed to be exposed.setAllowedCapabilities
(int index, String value) allowedCapabilities is a list of capabilities that can be requested to add to the container.setAllowedCSIDrivers
(int index, V1beta1Policy.AllowedCSIDriver value) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.setAllowedCSIDrivers
(int index, V1beta1Policy.AllowedCSIDriver.Builder builderForValue) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.setAllowedFlexVolumes
(int index, V1beta1Policy.AllowedFlexVolume value) allowedFlexVolumes is an allowlist of Flexvolumes.setAllowedFlexVolumes
(int index, V1beta1Policy.AllowedFlexVolume.Builder builderForValue) allowedFlexVolumes is an allowlist of Flexvolumes.setAllowedHostPaths
(int index, V1beta1Policy.AllowedHostPath value) allowedHostPaths is an allowlist of host paths.setAllowedHostPaths
(int index, V1beta1Policy.AllowedHostPath.Builder builderForValue) allowedHostPaths is an allowlist of host paths.setAllowedProcMountTypes
(int index, String value) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.setAllowedUnsafeSysctls
(int index, String value) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.setAllowPrivilegeEscalation
(boolean value) allowPrivilegeEscalation determines if a pod can request to allow privilege escalation.setDefaultAddCapabilities
(int index, String value) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.setDefaultAllowPrivilegeEscalation
(boolean value) defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.setForbiddenSysctls
(int index, String value) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.setFsGroup
(V1beta1Policy.FSGroupStrategyOptions.Builder builderForValue) fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.setHostIPC
(boolean value) hostIPC determines if the policy allows the use of HostIPC in the pod spec.setHostNetwork
(boolean value) hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.setHostPID
(boolean value) hostPID determines if the policy allows the use of HostPID in the pod spec.setHostPorts
(int index, V1beta1Policy.HostPortRange value) hostPorts determines which host port ranges are allowed to be exposed.setHostPorts
(int index, V1beta1Policy.HostPortRange.Builder builderForValue) hostPorts determines which host port ranges are allowed to be exposed.setPrivileged
(boolean value) privileged determines if a pod can request to be run as privileged.setReadOnlyRootFilesystem
(boolean value) readOnlyRootFilesystem when set to true will force containers to run with a read only root file system.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequiredDropCapabilities
(int index, String value) requiredDropCapabilities are the capabilities that will be dropped from the container.RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.setRunAsGroup
(V1beta1Policy.RunAsGroupStrategyOptions.Builder builderForValue) RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.setRunAsUser
(V1beta1Policy.RunAsUserStrategyOptions.Builder builderForValue) runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.setRuntimeClass
(V1beta1Policy.RuntimeClassStrategyOptions.Builder builderForValue) runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.seLinux is the strategy that will dictate the allowable labels that may be set.setSeLinux
(V1beta1Policy.SELinuxStrategyOptions.Builder builderForValue) seLinux is the strategy that will dictate the allowable labels that may be set.supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVolumes
(int index, String value) volumes is an allowlist of volume plugins.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
setField
public V1beta1Policy.PodSecurityPolicySpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
clearField
public V1beta1Policy.PodSecurityPolicySpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
clearOneof
public V1beta1Policy.PodSecurityPolicySpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
setRepeatedField
public V1beta1Policy.PodSecurityPolicySpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
addRepeatedField
public V1beta1Policy.PodSecurityPolicySpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
mergeFrom
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeFrom(V1beta1Policy.PodSecurityPolicySpec other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
mergeFrom
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
- Throws:
IOException
-
hasPrivileged
public boolean hasPrivileged()privileged determines if a pod can request to be run as privileged. +optional
optional bool privileged = 1;
- Specified by:
hasPrivileged
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getPrivileged
public boolean getPrivileged()privileged determines if a pod can request to be run as privileged. +optional
optional bool privileged = 1;
- Specified by:
getPrivileged
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setPrivileged
privileged determines if a pod can request to be run as privileged. +optional
optional bool privileged = 1;
-
clearPrivileged
privileged determines if a pod can request to be run as privileged. +optional
optional bool privileged = 1;
-
getDefaultAddCapabilitiesList
public com.google.protobuf.ProtocolStringList getDefaultAddCapabilitiesList()defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
- Specified by:
getDefaultAddCapabilitiesList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getDefaultAddCapabilitiesCount
public int getDefaultAddCapabilitiesCount()defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
- Specified by:
getDefaultAddCapabilitiesCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getDefaultAddCapabilities
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
- Specified by:
getDefaultAddCapabilities
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getDefaultAddCapabilitiesBytes
public com.google.protobuf.ByteString getDefaultAddCapabilitiesBytes(int index) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
- Specified by:
getDefaultAddCapabilitiesBytes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setDefaultAddCapabilities
public V1beta1Policy.PodSecurityPolicySpec.Builder setDefaultAddCapabilities(int index, String value) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
-
addDefaultAddCapabilities
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
-
addAllDefaultAddCapabilities
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllDefaultAddCapabilities(Iterable<String> values) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
-
clearDefaultAddCapabilities
defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
-
addDefaultAddCapabilitiesBytes
public V1beta1Policy.PodSecurityPolicySpec.Builder addDefaultAddCapabilitiesBytes(com.google.protobuf.ByteString value) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. +optional
repeated string defaultAddCapabilities = 2;
-
getRequiredDropCapabilitiesList
public com.google.protobuf.ProtocolStringList getRequiredDropCapabilitiesList()requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
- Specified by:
getRequiredDropCapabilitiesList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getRequiredDropCapabilitiesCount
public int getRequiredDropCapabilitiesCount()requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
- Specified by:
getRequiredDropCapabilitiesCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getRequiredDropCapabilities
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
- Specified by:
getRequiredDropCapabilities
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getRequiredDropCapabilitiesBytes
public com.google.protobuf.ByteString getRequiredDropCapabilitiesBytes(int index) requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
- Specified by:
getRequiredDropCapabilitiesBytes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setRequiredDropCapabilities
public V1beta1Policy.PodSecurityPolicySpec.Builder setRequiredDropCapabilities(int index, String value) requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
-
addRequiredDropCapabilities
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
-
addAllRequiredDropCapabilities
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllRequiredDropCapabilities(Iterable<String> values) requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
-
clearRequiredDropCapabilities
requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
-
addRequiredDropCapabilitiesBytes
public V1beta1Policy.PodSecurityPolicySpec.Builder addRequiredDropCapabilitiesBytes(com.google.protobuf.ByteString value) requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. +optional
repeated string requiredDropCapabilities = 3;
-
getAllowedCapabilitiesList
public com.google.protobuf.ProtocolStringList getAllowedCapabilitiesList()allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
- Specified by:
getAllowedCapabilitiesList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedCapabilitiesCount
public int getAllowedCapabilitiesCount()allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
- Specified by:
getAllowedCapabilitiesCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedCapabilities
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
- Specified by:
getAllowedCapabilities
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedCapabilitiesBytes
public com.google.protobuf.ByteString getAllowedCapabilitiesBytes(int index) allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
- Specified by:
getAllowedCapabilitiesBytes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setAllowedCapabilities
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
-
addAllowedCapabilities
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
-
addAllAllowedCapabilities
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllAllowedCapabilities(Iterable<String> values) allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
-
clearAllowedCapabilities
allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
-
addAllowedCapabilitiesBytes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedCapabilitiesBytes(com.google.protobuf.ByteString value) allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. +optional
repeated string allowedCapabilities = 4;
-
getVolumesList
public com.google.protobuf.ProtocolStringList getVolumesList()volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
- Specified by:
getVolumesList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getVolumesCount
public int getVolumesCount()volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
- Specified by:
getVolumesCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getVolumes
volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
- Specified by:
getVolumes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getVolumesBytes
public com.google.protobuf.ByteString getVolumesBytes(int index) volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
- Specified by:
getVolumesBytes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setVolumes
volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
-
addVolumes
volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
-
addAllVolumes
volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
-
clearVolumes
volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
-
addVolumesBytes
public V1beta1Policy.PodSecurityPolicySpec.Builder addVolumesBytes(com.google.protobuf.ByteString value) volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. +optional
repeated string volumes = 5;
-
hasHostNetwork
public boolean hasHostNetwork()hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. +optional
optional bool hostNetwork = 6;
- Specified by:
hasHostNetwork
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getHostNetwork
public boolean getHostNetwork()hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. +optional
optional bool hostNetwork = 6;
- Specified by:
getHostNetwork
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setHostNetwork
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. +optional
optional bool hostNetwork = 6;
-
clearHostNetwork
hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. +optional
optional bool hostNetwork = 6;
-
getHostPortsList
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
- Specified by:
getHostPortsList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getHostPortsCount
public int getHostPortsCount()hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
- Specified by:
getHostPortsCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getHostPorts
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
- Specified by:
getHostPorts
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setHostPorts
public V1beta1Policy.PodSecurityPolicySpec.Builder setHostPorts(int index, V1beta1Policy.HostPortRange value) hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
setHostPorts
public V1beta1Policy.PodSecurityPolicySpec.Builder setHostPorts(int index, V1beta1Policy.HostPortRange.Builder builderForValue) hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
addHostPorts
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
addHostPorts
public V1beta1Policy.PodSecurityPolicySpec.Builder addHostPorts(int index, V1beta1Policy.HostPortRange value) hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
addHostPorts
public V1beta1Policy.PodSecurityPolicySpec.Builder addHostPorts(V1beta1Policy.HostPortRange.Builder builderForValue) hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
addHostPorts
public V1beta1Policy.PodSecurityPolicySpec.Builder addHostPorts(int index, V1beta1Policy.HostPortRange.Builder builderForValue) hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
addAllHostPorts
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllHostPorts(Iterable<? extends V1beta1Policy.HostPortRange> values) hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
clearHostPorts
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
removeHostPorts
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
getHostPortsBuilder
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
getHostPortsOrBuilder
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
- Specified by:
getHostPortsOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getHostPortsOrBuilderList
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
- Specified by:
getHostPortsOrBuilderList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
addHostPortsBuilder
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
addHostPortsBuilder
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
getHostPortsBuilderList
hostPorts determines which host port ranges are allowed to be exposed. +optional
repeated .k8s.io.api.policy.v1beta1.HostPortRange hostPorts = 7;
-
hasHostPID
public boolean hasHostPID()hostPID determines if the policy allows the use of HostPID in the pod spec. +optional
optional bool hostPID = 8;
- Specified by:
hasHostPID
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getHostPID
public boolean getHostPID()hostPID determines if the policy allows the use of HostPID in the pod spec. +optional
optional bool hostPID = 8;
- Specified by:
getHostPID
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setHostPID
hostPID determines if the policy allows the use of HostPID in the pod spec. +optional
optional bool hostPID = 8;
-
clearHostPID
hostPID determines if the policy allows the use of HostPID in the pod spec. +optional
optional bool hostPID = 8;
-
hasHostIPC
public boolean hasHostIPC()hostIPC determines if the policy allows the use of HostIPC in the pod spec. +optional
optional bool hostIPC = 9;
- Specified by:
hasHostIPC
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getHostIPC
public boolean getHostIPC()hostIPC determines if the policy allows the use of HostIPC in the pod spec. +optional
optional bool hostIPC = 9;
- Specified by:
getHostIPC
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setHostIPC
hostIPC determines if the policy allows the use of HostIPC in the pod spec. +optional
optional bool hostIPC = 9;
-
clearHostIPC
hostIPC determines if the policy allows the use of HostIPC in the pod spec. +optional
optional bool hostIPC = 9;
-
hasSeLinux
public boolean hasSeLinux()seLinux is the strategy that will dictate the allowable labels that may be set.
optional .k8s.io.api.policy.v1beta1.SELinuxStrategyOptions seLinux = 10;
- Specified by:
hasSeLinux
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getSeLinux
seLinux is the strategy that will dictate the allowable labels that may be set.
optional .k8s.io.api.policy.v1beta1.SELinuxStrategyOptions seLinux = 10;
- Specified by:
getSeLinux
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setSeLinux
public V1beta1Policy.PodSecurityPolicySpec.Builder setSeLinux(V1beta1Policy.SELinuxStrategyOptions value) seLinux is the strategy that will dictate the allowable labels that may be set.
optional .k8s.io.api.policy.v1beta1.SELinuxStrategyOptions seLinux = 10;
-
setSeLinux
public V1beta1Policy.PodSecurityPolicySpec.Builder setSeLinux(V1beta1Policy.SELinuxStrategyOptions.Builder builderForValue) seLinux is the strategy that will dictate the allowable labels that may be set.
optional .k8s.io.api.policy.v1beta1.SELinuxStrategyOptions seLinux = 10;
-
mergeSeLinux
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeSeLinux(V1beta1Policy.SELinuxStrategyOptions value) seLinux is the strategy that will dictate the allowable labels that may be set.
optional .k8s.io.api.policy.v1beta1.SELinuxStrategyOptions seLinux = 10;
-
clearSeLinux
seLinux is the strategy that will dictate the allowable labels that may be set.
optional .k8s.io.api.policy.v1beta1.SELinuxStrategyOptions seLinux = 10;
-
getSeLinuxBuilder
seLinux is the strategy that will dictate the allowable labels that may be set.
optional .k8s.io.api.policy.v1beta1.SELinuxStrategyOptions seLinux = 10;
-
getSeLinuxOrBuilder
seLinux is the strategy that will dictate the allowable labels that may be set.
optional .k8s.io.api.policy.v1beta1.SELinuxStrategyOptions seLinux = 10;
- Specified by:
getSeLinuxOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
hasRunAsUser
public boolean hasRunAsUser()runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
optional .k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions runAsUser = 11;
- Specified by:
hasRunAsUser
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getRunAsUser
runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
optional .k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions runAsUser = 11;
- Specified by:
getRunAsUser
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setRunAsUser
public V1beta1Policy.PodSecurityPolicySpec.Builder setRunAsUser(V1beta1Policy.RunAsUserStrategyOptions value) runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
optional .k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions runAsUser = 11;
-
setRunAsUser
public V1beta1Policy.PodSecurityPolicySpec.Builder setRunAsUser(V1beta1Policy.RunAsUserStrategyOptions.Builder builderForValue) runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
optional .k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions runAsUser = 11;
-
mergeRunAsUser
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeRunAsUser(V1beta1Policy.RunAsUserStrategyOptions value) runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
optional .k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions runAsUser = 11;
-
clearRunAsUser
runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
optional .k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions runAsUser = 11;
-
getRunAsUserBuilder
runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
optional .k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions runAsUser = 11;
-
getRunAsUserOrBuilder
runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
optional .k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions runAsUser = 11;
- Specified by:
getRunAsUserOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
hasRunAsGroup
public boolean hasRunAsGroup()RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. +optional
optional .k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions runAsGroup = 22;
- Specified by:
hasRunAsGroup
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getRunAsGroup
RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. +optional
optional .k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions runAsGroup = 22;
- Specified by:
getRunAsGroup
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setRunAsGroup
public V1beta1Policy.PodSecurityPolicySpec.Builder setRunAsGroup(V1beta1Policy.RunAsGroupStrategyOptions value) RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. +optional
optional .k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions runAsGroup = 22;
-
setRunAsGroup
public V1beta1Policy.PodSecurityPolicySpec.Builder setRunAsGroup(V1beta1Policy.RunAsGroupStrategyOptions.Builder builderForValue) RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. +optional
optional .k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions runAsGroup = 22;
-
mergeRunAsGroup
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeRunAsGroup(V1beta1Policy.RunAsGroupStrategyOptions value) RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. +optional
optional .k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions runAsGroup = 22;
-
clearRunAsGroup
RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. +optional
optional .k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions runAsGroup = 22;
-
getRunAsGroupBuilder
RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. +optional
optional .k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions runAsGroup = 22;
-
getRunAsGroupOrBuilder
RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. +optional
optional .k8s.io.api.policy.v1beta1.RunAsGroupStrategyOptions runAsGroup = 22;
- Specified by:
getRunAsGroupOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
hasSupplementalGroups
public boolean hasSupplementalGroups()supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions supplementalGroups = 12;
- Specified by:
hasSupplementalGroups
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getSupplementalGroups
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions supplementalGroups = 12;
- Specified by:
getSupplementalGroups
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setSupplementalGroups
public V1beta1Policy.PodSecurityPolicySpec.Builder setSupplementalGroups(V1beta1Policy.SupplementalGroupsStrategyOptions value) supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions supplementalGroups = 12;
-
setSupplementalGroups
public V1beta1Policy.PodSecurityPolicySpec.Builder setSupplementalGroups(V1beta1Policy.SupplementalGroupsStrategyOptions.Builder builderForValue) supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions supplementalGroups = 12;
-
mergeSupplementalGroups
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeSupplementalGroups(V1beta1Policy.SupplementalGroupsStrategyOptions value) supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions supplementalGroups = 12;
-
clearSupplementalGroups
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions supplementalGroups = 12;
-
getSupplementalGroupsBuilder
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions supplementalGroups = 12;
-
getSupplementalGroupsOrBuilder
supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions supplementalGroups = 12;
- Specified by:
getSupplementalGroupsOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
hasFsGroup
public boolean hasFsGroup()fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.FSGroupStrategyOptions fsGroup = 13;
- Specified by:
hasFsGroup
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getFsGroup
fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.FSGroupStrategyOptions fsGroup = 13;
- Specified by:
getFsGroup
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setFsGroup
public V1beta1Policy.PodSecurityPolicySpec.Builder setFsGroup(V1beta1Policy.FSGroupStrategyOptions value) fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.FSGroupStrategyOptions fsGroup = 13;
-
setFsGroup
public V1beta1Policy.PodSecurityPolicySpec.Builder setFsGroup(V1beta1Policy.FSGroupStrategyOptions.Builder builderForValue) fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.FSGroupStrategyOptions fsGroup = 13;
-
mergeFsGroup
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeFsGroup(V1beta1Policy.FSGroupStrategyOptions value) fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.FSGroupStrategyOptions fsGroup = 13;
-
clearFsGroup
fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.FSGroupStrategyOptions fsGroup = 13;
-
getFsGroupBuilder
fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.FSGroupStrategyOptions fsGroup = 13;
-
getFsGroupOrBuilder
fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
optional .k8s.io.api.policy.v1beta1.FSGroupStrategyOptions fsGroup = 13;
- Specified by:
getFsGroupOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
hasReadOnlyRootFilesystem
public boolean hasReadOnlyRootFilesystem()readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. +optional
optional bool readOnlyRootFilesystem = 14;
- Specified by:
hasReadOnlyRootFilesystem
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getReadOnlyRootFilesystem
public boolean getReadOnlyRootFilesystem()readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. +optional
optional bool readOnlyRootFilesystem = 14;
- Specified by:
getReadOnlyRootFilesystem
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setReadOnlyRootFilesystem
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. +optional
optional bool readOnlyRootFilesystem = 14;
-
clearReadOnlyRootFilesystem
readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. +optional
optional bool readOnlyRootFilesystem = 14;
-
hasDefaultAllowPrivilegeEscalation
public boolean hasDefaultAllowPrivilegeEscalation()defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. +optional
optional bool defaultAllowPrivilegeEscalation = 15;
- Specified by:
hasDefaultAllowPrivilegeEscalation
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getDefaultAllowPrivilegeEscalation
public boolean getDefaultAllowPrivilegeEscalation()defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. +optional
optional bool defaultAllowPrivilegeEscalation = 15;
- Specified by:
getDefaultAllowPrivilegeEscalation
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setDefaultAllowPrivilegeEscalation
public V1beta1Policy.PodSecurityPolicySpec.Builder setDefaultAllowPrivilegeEscalation(boolean value) defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. +optional
optional bool defaultAllowPrivilegeEscalation = 15;
-
clearDefaultAllowPrivilegeEscalation
defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. +optional
optional bool defaultAllowPrivilegeEscalation = 15;
-
hasAllowPrivilegeEscalation
public boolean hasAllowPrivilegeEscalation()allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. +optional
optional bool allowPrivilegeEscalation = 16;
- Specified by:
hasAllowPrivilegeEscalation
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowPrivilegeEscalation
public boolean getAllowPrivilegeEscalation()allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. +optional
optional bool allowPrivilegeEscalation = 16;
- Specified by:
getAllowPrivilegeEscalation
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setAllowPrivilegeEscalation
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. +optional
optional bool allowPrivilegeEscalation = 16;
-
clearAllowPrivilegeEscalation
allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. +optional
optional bool allowPrivilegeEscalation = 16;
-
getAllowedHostPathsList
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
- Specified by:
getAllowedHostPathsList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedHostPathsCount
public int getAllowedHostPathsCount()allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
- Specified by:
getAllowedHostPathsCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedHostPaths
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
- Specified by:
getAllowedHostPaths
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setAllowedHostPaths
public V1beta1Policy.PodSecurityPolicySpec.Builder setAllowedHostPaths(int index, V1beta1Policy.AllowedHostPath value) allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
setAllowedHostPaths
public V1beta1Policy.PodSecurityPolicySpec.Builder setAllowedHostPaths(int index, V1beta1Policy.AllowedHostPath.Builder builderForValue) allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
addAllowedHostPaths
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedHostPaths(V1beta1Policy.AllowedHostPath value) allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
addAllowedHostPaths
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedHostPaths(int index, V1beta1Policy.AllowedHostPath value) allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
addAllowedHostPaths
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedHostPaths(V1beta1Policy.AllowedHostPath.Builder builderForValue) allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
addAllowedHostPaths
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedHostPaths(int index, V1beta1Policy.AllowedHostPath.Builder builderForValue) allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
addAllAllowedHostPaths
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllAllowedHostPaths(Iterable<? extends V1beta1Policy.AllowedHostPath> values) allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
clearAllowedHostPaths
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
removeAllowedHostPaths
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
getAllowedHostPathsBuilder
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
getAllowedHostPathsOrBuilder
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
- Specified by:
getAllowedHostPathsOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedHostPathsOrBuilderList
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
- Specified by:
getAllowedHostPathsOrBuilderList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
addAllowedHostPathsBuilder
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
addAllowedHostPathsBuilder
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
getAllowedHostPathsBuilderList
allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedHostPath allowedHostPaths = 17;
-
getAllowedFlexVolumesList
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
- Specified by:
getAllowedFlexVolumesList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedFlexVolumesCount
public int getAllowedFlexVolumesCount()allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
- Specified by:
getAllowedFlexVolumesCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedFlexVolumes
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
- Specified by:
getAllowedFlexVolumes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setAllowedFlexVolumes
public V1beta1Policy.PodSecurityPolicySpec.Builder setAllowedFlexVolumes(int index, V1beta1Policy.AllowedFlexVolume value) allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
setAllowedFlexVolumes
public V1beta1Policy.PodSecurityPolicySpec.Builder setAllowedFlexVolumes(int index, V1beta1Policy.AllowedFlexVolume.Builder builderForValue) allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
addAllowedFlexVolumes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedFlexVolumes(V1beta1Policy.AllowedFlexVolume value) allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
addAllowedFlexVolumes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedFlexVolumes(int index, V1beta1Policy.AllowedFlexVolume value) allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
addAllowedFlexVolumes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedFlexVolumes(V1beta1Policy.AllowedFlexVolume.Builder builderForValue) allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
addAllowedFlexVolumes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedFlexVolumes(int index, V1beta1Policy.AllowedFlexVolume.Builder builderForValue) allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
addAllAllowedFlexVolumes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllAllowedFlexVolumes(Iterable<? extends V1beta1Policy.AllowedFlexVolume> values) allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
clearAllowedFlexVolumes
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
removeAllowedFlexVolumes
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
getAllowedFlexVolumesBuilder
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
getAllowedFlexVolumesOrBuilder
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
- Specified by:
getAllowedFlexVolumesOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedFlexVolumesOrBuilderList
public List<? extends V1beta1Policy.AllowedFlexVolumeOrBuilder> getAllowedFlexVolumesOrBuilderList()allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
- Specified by:
getAllowedFlexVolumesOrBuilderList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
addAllowedFlexVolumesBuilder
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
addAllowedFlexVolumesBuilder
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
getAllowedFlexVolumesBuilderList
allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedFlexVolume allowedFlexVolumes = 18;
-
getAllowedCSIDriversList
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
- Specified by:
getAllowedCSIDriversList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedCSIDriversCount
public int getAllowedCSIDriversCount()AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
- Specified by:
getAllowedCSIDriversCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedCSIDrivers
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
- Specified by:
getAllowedCSIDrivers
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setAllowedCSIDrivers
public V1beta1Policy.PodSecurityPolicySpec.Builder setAllowedCSIDrivers(int index, V1beta1Policy.AllowedCSIDriver value) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
setAllowedCSIDrivers
public V1beta1Policy.PodSecurityPolicySpec.Builder setAllowedCSIDrivers(int index, V1beta1Policy.AllowedCSIDriver.Builder builderForValue) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
addAllowedCSIDrivers
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedCSIDrivers(V1beta1Policy.AllowedCSIDriver value) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
addAllowedCSIDrivers
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedCSIDrivers(int index, V1beta1Policy.AllowedCSIDriver value) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
addAllowedCSIDrivers
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedCSIDrivers(V1beta1Policy.AllowedCSIDriver.Builder builderForValue) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
addAllowedCSIDrivers
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedCSIDrivers(int index, V1beta1Policy.AllowedCSIDriver.Builder builderForValue) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
addAllAllowedCSIDrivers
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllAllowedCSIDrivers(Iterable<? extends V1beta1Policy.AllowedCSIDriver> values) AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
clearAllowedCSIDrivers
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
removeAllowedCSIDrivers
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
getAllowedCSIDriversBuilder
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
getAllowedCSIDriversOrBuilder
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
- Specified by:
getAllowedCSIDriversOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedCSIDriversOrBuilderList
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
- Specified by:
getAllowedCSIDriversOrBuilderList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
addAllowedCSIDriversBuilder
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
addAllowedCSIDriversBuilder
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
getAllowedCSIDriversBuilderList
AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. +optional
repeated .k8s.io.api.policy.v1beta1.AllowedCSIDriver allowedCSIDrivers = 23;
-
getAllowedUnsafeSysctlsList
public com.google.protobuf.ProtocolStringList getAllowedUnsafeSysctlsList()allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
- Specified by:
getAllowedUnsafeSysctlsList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedUnsafeSysctlsCount
public int getAllowedUnsafeSysctlsCount()allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
- Specified by:
getAllowedUnsafeSysctlsCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedUnsafeSysctls
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
- Specified by:
getAllowedUnsafeSysctls
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedUnsafeSysctlsBytes
public com.google.protobuf.ByteString getAllowedUnsafeSysctlsBytes(int index) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
- Specified by:
getAllowedUnsafeSysctlsBytes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setAllowedUnsafeSysctls
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
-
addAllowedUnsafeSysctls
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
-
addAllAllowedUnsafeSysctls
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllAllowedUnsafeSysctls(Iterable<String> values) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
-
clearAllowedUnsafeSysctls
allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
-
addAllowedUnsafeSysctlsBytes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedUnsafeSysctlsBytes(com.google.protobuf.ByteString value) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. +optional
repeated string allowedUnsafeSysctls = 19;
-
getForbiddenSysctlsList
public com.google.protobuf.ProtocolStringList getForbiddenSysctlsList()forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
- Specified by:
getForbiddenSysctlsList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getForbiddenSysctlsCount
public int getForbiddenSysctlsCount()forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
- Specified by:
getForbiddenSysctlsCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getForbiddenSysctls
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
- Specified by:
getForbiddenSysctls
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getForbiddenSysctlsBytes
public com.google.protobuf.ByteString getForbiddenSysctlsBytes(int index) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
- Specified by:
getForbiddenSysctlsBytes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setForbiddenSysctls
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
-
addForbiddenSysctls
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
-
addAllForbiddenSysctls
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
-
clearForbiddenSysctls
forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
-
addForbiddenSysctlsBytes
public V1beta1Policy.PodSecurityPolicySpec.Builder addForbiddenSysctlsBytes(com.google.protobuf.ByteString value) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. +optional
repeated string forbiddenSysctls = 20;
-
getAllowedProcMountTypesList
public com.google.protobuf.ProtocolStringList getAllowedProcMountTypesList()AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
- Specified by:
getAllowedProcMountTypesList
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedProcMountTypesCount
public int getAllowedProcMountTypesCount()AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
- Specified by:
getAllowedProcMountTypesCount
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedProcMountTypes
AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
- Specified by:
getAllowedProcMountTypes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getAllowedProcMountTypesBytes
public com.google.protobuf.ByteString getAllowedProcMountTypesBytes(int index) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
- Specified by:
getAllowedProcMountTypesBytes
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setAllowedProcMountTypes
public V1beta1Policy.PodSecurityPolicySpec.Builder setAllowedProcMountTypes(int index, String value) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
-
addAllowedProcMountTypes
AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
-
addAllAllowedProcMountTypes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllAllowedProcMountTypes(Iterable<String> values) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
-
clearAllowedProcMountTypes
AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
-
addAllowedProcMountTypesBytes
public V1beta1Policy.PodSecurityPolicySpec.Builder addAllowedProcMountTypesBytes(com.google.protobuf.ByteString value) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. +optional
repeated string allowedProcMountTypes = 21;
-
hasRuntimeClass
public boolean hasRuntimeClass()runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. +optional
optional .k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions runtimeClass = 24;
- Specified by:
hasRuntimeClass
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
getRuntimeClass
runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. +optional
optional .k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions runtimeClass = 24;
- Specified by:
getRuntimeClass
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setRuntimeClass
public V1beta1Policy.PodSecurityPolicySpec.Builder setRuntimeClass(V1beta1Policy.RuntimeClassStrategyOptions value) runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. +optional
optional .k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions runtimeClass = 24;
-
setRuntimeClass
public V1beta1Policy.PodSecurityPolicySpec.Builder setRuntimeClass(V1beta1Policy.RuntimeClassStrategyOptions.Builder builderForValue) runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. +optional
optional .k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions runtimeClass = 24;
-
mergeRuntimeClass
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeRuntimeClass(V1beta1Policy.RuntimeClassStrategyOptions value) runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. +optional
optional .k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions runtimeClass = 24;
-
clearRuntimeClass
runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. +optional
optional .k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions runtimeClass = 24;
-
getRuntimeClassBuilder
runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. +optional
optional .k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions runtimeClass = 24;
-
getRuntimeClassOrBuilder
runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. +optional
optional .k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions runtimeClass = 24;
- Specified by:
getRuntimeClassOrBuilder
in interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setUnknownFields
public final V1beta1Policy.PodSecurityPolicySpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
mergeUnknownFields
public final V1beta1Policy.PodSecurityPolicySpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-