@Generated(value="org.jsonschema2pojo") public class PodSecurityPolicySpec extends Object implements KubernetesResource
| Constructor and Description |
|---|
PodSecurityPolicySpec()
No args constructor for use in serialization
|
PodSecurityPolicySpec(Boolean allowPrivilegeEscalation,
List<AllowedCSIDriver> allowedCSIDrivers,
List<String> allowedCapabilities,
List<AllowedFlexVolume> allowedFlexVolumes,
List<AllowedHostPath> allowedHostPaths,
List<String> allowedProcMountTypes,
List<String> allowedUnsafeSysctls,
List<String> defaultAddCapabilities,
Boolean defaultAllowPrivilegeEscalation,
List<String> forbiddenSysctls,
FSGroupStrategyOptions fsGroup,
Boolean hostIPC,
Boolean hostNetwork,
Boolean hostPID,
List<HostPortRange> hostPorts,
Boolean privileged,
Boolean readOnlyRootFilesystem,
List<String> requiredDropCapabilities,
RunAsGroupStrategyOptions runAsGroup,
KubernetesRunAsUserStrategyOptions runAsUser,
RuntimeClassStrategyOptions runtimeClass,
SELinuxStrategyOptions seLinux,
SupplementalGroupsStrategyOptions supplementalGroups,
List<String> volumes) |
public PodSecurityPolicySpec()
public PodSecurityPolicySpec(Boolean allowPrivilegeEscalation, List<AllowedCSIDriver> allowedCSIDrivers, List<String> allowedCapabilities, List<AllowedFlexVolume> allowedFlexVolumes, List<AllowedHostPath> allowedHostPaths, List<String> allowedProcMountTypes, List<String> allowedUnsafeSysctls, List<String> defaultAddCapabilities, Boolean defaultAllowPrivilegeEscalation, List<String> forbiddenSysctls, FSGroupStrategyOptions fsGroup, Boolean hostIPC, Boolean hostNetwork, Boolean hostPID, List<HostPortRange> hostPorts, Boolean privileged, Boolean readOnlyRootFilesystem, List<String> requiredDropCapabilities, RunAsGroupStrategyOptions runAsGroup, KubernetesRunAsUserStrategyOptions runAsUser, RuntimeClassStrategyOptions runtimeClass, SELinuxStrategyOptions seLinux, SupplementalGroupsStrategyOptions supplementalGroups, List<String> volumes)
defaultAddCapabilities - hostPorts - allowedProcMountTypes - fsGroup - seLinux - hostNetwork - hostIPC - volumes - requiredDropCapabilities - runAsGroup - allowedCapabilities - readOnlyRootFilesystem - privileged - runAsUser - runtimeClass - allowedHostPaths - forbiddenSysctls - allowedCSIDrivers - supplementalGroups - defaultAllowPrivilegeEscalation - allowedUnsafeSysctls - allowPrivilegeEscalation - allowedFlexVolumes - hostPID - public Boolean getAllowPrivilegeEscalation()
public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
allowPrivilegeEscalation - The allowPrivilegeEscalationpublic List<AllowedCSIDriver> getAllowedCSIDrivers()
public void setAllowedCSIDrivers(List<AllowedCSIDriver> allowedCSIDrivers)
allowedCSIDrivers - The allowedCSIDriverspublic List<String> getAllowedCapabilities()
public void setAllowedCapabilities(List<String> allowedCapabilities)
allowedCapabilities - The allowedCapabilitiespublic List<AllowedFlexVolume> getAllowedFlexVolumes()
public void setAllowedFlexVolumes(List<AllowedFlexVolume> allowedFlexVolumes)
allowedFlexVolumes - The allowedFlexVolumespublic List<AllowedHostPath> getAllowedHostPaths()
public void setAllowedHostPaths(List<AllowedHostPath> allowedHostPaths)
allowedHostPaths - The allowedHostPathspublic List<String> getAllowedProcMountTypes()
public void setAllowedProcMountTypes(List<String> allowedProcMountTypes)
allowedProcMountTypes - The allowedProcMountTypespublic List<String> getAllowedUnsafeSysctls()
public void setAllowedUnsafeSysctls(List<String> allowedUnsafeSysctls)
allowedUnsafeSysctls - The allowedUnsafeSysctlspublic List<String> getDefaultAddCapabilities()
public void setDefaultAddCapabilities(List<String> defaultAddCapabilities)
defaultAddCapabilities - The defaultAddCapabilitiespublic Boolean getDefaultAllowPrivilegeEscalation()
public void setDefaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation)
defaultAllowPrivilegeEscalation - The defaultAllowPrivilegeEscalationpublic void setForbiddenSysctls(List<String> forbiddenSysctls)
forbiddenSysctls - The forbiddenSysctlspublic FSGroupStrategyOptions getFsGroup()
public void setFsGroup(FSGroupStrategyOptions fsGroup)
fsGroup - The fsGrouppublic Boolean getHostIPC()
public void setHostIPC(Boolean hostIPC)
hostIPC - The hostIPCpublic Boolean getHostNetwork()
public void setHostNetwork(Boolean hostNetwork)
hostNetwork - The hostNetworkpublic Boolean getHostPID()
public void setHostPID(Boolean hostPID)
hostPID - The hostPIDpublic List<HostPortRange> getHostPorts()
public void setHostPorts(List<HostPortRange> hostPorts)
hostPorts - The hostPortspublic Boolean getPrivileged()
public void setPrivileged(Boolean privileged)
privileged - The privilegedpublic Boolean getReadOnlyRootFilesystem()
public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
readOnlyRootFilesystem - The readOnlyRootFilesystempublic List<String> getRequiredDropCapabilities()
public void setRequiredDropCapabilities(List<String> requiredDropCapabilities)
requiredDropCapabilities - The requiredDropCapabilitiespublic RunAsGroupStrategyOptions getRunAsGroup()
public void setRunAsGroup(RunAsGroupStrategyOptions runAsGroup)
runAsGroup - The runAsGrouppublic KubernetesRunAsUserStrategyOptions getRunAsUser()
public void setRunAsUser(KubernetesRunAsUserStrategyOptions runAsUser)
runAsUser - The runAsUserpublic RuntimeClassStrategyOptions getRuntimeClass()
public void setRuntimeClass(RuntimeClassStrategyOptions runtimeClass)
runtimeClass - The runtimeClasspublic SELinuxStrategyOptions getSeLinux()
public void setSeLinux(SELinuxStrategyOptions seLinux)
seLinux - The seLinuxpublic SupplementalGroupsStrategyOptions getSupplementalGroups()
public void setSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups)
supplementalGroups - The supplementalGroupsCopyright © 2015–2020 Red Hat. All rights reserved.