Package io.kubernetes.client.proto
Class V1beta1Policy.PodSecurityPolicySpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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.ByteStringgetAllowedCapabilitiesBytes(int index) allowedCapabilities is a list of capabilities that can be requested to add to the container.intallowedCapabilities is a list of capabilities that can be requested to add to the container.com.google.protobuf.ProtocolStringListallowedCapabilities 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.intAllowedCSIDrivers 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.intallowedFlexVolumes 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.intallowedHostPaths 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.ByteStringgetAllowedProcMountTypesBytes(int index) AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.intAllowedProcMountTypes is an allowlist of allowed ProcMountTypes.com.google.protobuf.ProtocolStringListAllowedProcMountTypes is an allowlist of allowed ProcMountTypes.getAllowedUnsafeSysctls(int index) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.com.google.protobuf.ByteStringgetAllowedUnsafeSysctlsBytes(int index) allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.intallowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.com.google.protobuf.ProtocolStringListallowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.booleanallowPrivilegeEscalation 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.ByteStringgetDefaultAddCapabilitiesBytes(int index) defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.intdefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.com.google.protobuf.ProtocolStringListdefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability.booleandefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetForbiddenSysctls(int index) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.com.google.protobuf.ByteStringgetForbiddenSysctlsBytes(int index) forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.intforbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.com.google.protobuf.ProtocolStringListforbiddenSysctls 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.booleanhostIPC determines if the policy allows the use of HostIPC in the pod spec.booleanhostNetwork determines if the policy allows the use of HostNetwork in the pod spec.booleanhostPID 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.inthostPorts 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.booleanprivileged determines if a pod can request to be run as privileged.booleanreadOnlyRootFilesystem 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.ByteStringgetRequiredDropCapabilitiesBytes(int index) requiredDropCapabilities are the capabilities that will be dropped from the container.intrequiredDropCapabilities are the capabilities that will be dropped from the container.com.google.protobuf.ProtocolStringListrequiredDropCapabilities 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.ByteStringgetVolumesBytes(int index) volumes is an allowlist of volume plugins.intvolumes is an allowlist of volume plugins.com.google.protobuf.ProtocolStringListvolumes is an allowlist of volume plugins.booleanallowPrivilegeEscalation determines if a pod can request to allow privilege escalation.booleandefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.booleanfsGroup is the strategy that will dictate what fs group is used by the SecurityContext.booleanhostIPC determines if the policy allows the use of HostIPC in the pod spec.booleanhostNetwork determines if the policy allows the use of HostNetwork in the pod spec.booleanhostPID determines if the policy allows the use of HostPID in the pod spec.booleanprivileged determines if a pod can request to be run as privileged.booleanreadOnlyRootFilesystem when set to true will force containers to run with a read only root file system.booleanRunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.booleanrunAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.booleanruntimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.booleanseLinux is the strategy that will dictate the allowable labels that may be set.booleansupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
setField
public V1beta1Policy.PodSecurityPolicySpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
clearField
public V1beta1Policy.PodSecurityPolicySpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
clearOneof
public V1beta1Policy.PodSecurityPolicySpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
addRepeatedField
public V1beta1Policy.PodSecurityPolicySpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
mergeFrom
public V1beta1Policy.PodSecurityPolicySpec.Builder mergeFrom(V1beta1Policy.PodSecurityPolicySpec other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasPrivilegedin 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:
getPrivilegedin 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:
getDefaultAddCapabilitiesListin 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:
getDefaultAddCapabilitiesCountin 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:
getDefaultAddCapabilitiesin 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:
getDefaultAddCapabilitiesBytesin 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:
getRequiredDropCapabilitiesListin 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:
getRequiredDropCapabilitiesCountin 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:
getRequiredDropCapabilitiesin 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:
getRequiredDropCapabilitiesBytesin 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:
getAllowedCapabilitiesListin 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:
getAllowedCapabilitiesCountin 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:
getAllowedCapabilitiesin 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:
getAllowedCapabilitiesBytesin 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:
getVolumesListin 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:
getVolumesCountin 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:
getVolumesin 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:
getVolumesBytesin 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:
hasHostNetworkin 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:
getHostNetworkin 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:
getHostPortsListin 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:
getHostPortsCountin 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:
getHostPortsin 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:
getHostPortsOrBuilderin 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:
getHostPortsOrBuilderListin 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:
hasHostPIDin 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:
getHostPIDin 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:
hasHostIPCin 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:
getHostIPCin 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:
hasSeLinuxin 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:
getSeLinuxin 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:
getSeLinuxOrBuilderin 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:
hasRunAsUserin 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:
getRunAsUserin 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:
getRunAsUserOrBuilderin 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:
hasRunAsGroupin 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:
getRunAsGroupin 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:
getRunAsGroupOrBuilderin 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:
hasSupplementalGroupsin 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:
getSupplementalGroupsin 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:
getSupplementalGroupsOrBuilderin 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:
hasFsGroupin 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:
getFsGroupin 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:
getFsGroupOrBuilderin 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:
hasReadOnlyRootFilesystemin 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:
getReadOnlyRootFilesystemin 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:
hasDefaultAllowPrivilegeEscalationin 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:
getDefaultAllowPrivilegeEscalationin 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:
hasAllowPrivilegeEscalationin 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:
getAllowPrivilegeEscalationin 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:
getAllowedHostPathsListin 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:
getAllowedHostPathsCountin 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:
getAllowedHostPathsin 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:
getAllowedHostPathsOrBuilderin 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:
getAllowedHostPathsOrBuilderListin 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:
getAllowedFlexVolumesListin 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:
getAllowedFlexVolumesCountin 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:
getAllowedFlexVolumesin 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:
getAllowedFlexVolumesOrBuilderin 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:
getAllowedFlexVolumesOrBuilderListin 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:
getAllowedCSIDriversListin 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:
getAllowedCSIDriversCountin 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:
getAllowedCSIDriversin 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:
getAllowedCSIDriversOrBuilderin 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:
getAllowedCSIDriversOrBuilderListin 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:
getAllowedUnsafeSysctlsListin 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:
getAllowedUnsafeSysctlsCountin 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:
getAllowedUnsafeSysctlsin 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:
getAllowedUnsafeSysctlsBytesin 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:
getForbiddenSysctlsListin 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:
getForbiddenSysctlsCountin 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:
getForbiddenSysctlsin 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:
getForbiddenSysctlsBytesin 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:
getAllowedProcMountTypesListin 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:
getAllowedProcMountTypesCountin 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:
getAllowedProcMountTypesin 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:
getAllowedProcMountTypesBytesin 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:
hasRuntimeClassin 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:
getRuntimeClassin 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:
getRuntimeClassOrBuilderin interfaceV1beta1Policy.PodSecurityPolicySpecOrBuilder
-
setUnknownFields
public final V1beta1Policy.PodSecurityPolicySpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-
mergeUnknownFields
public final V1beta1Policy.PodSecurityPolicySpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodSecurityPolicySpec.Builder>
-