public class PodSecurityPolicySpec extends Object implements io.fabric8.kubernetes.api.model.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,
RunAsUserStrategyOptions 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, RunAsUserStrategyOptions 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)
public List<AllowedCSIDriver> getAllowedCSIDrivers()
public void setAllowedCSIDrivers(List<AllowedCSIDriver> allowedCSIDrivers)
public List<AllowedFlexVolume> getAllowedFlexVolumes()
public void setAllowedFlexVolumes(List<AllowedFlexVolume> allowedFlexVolumes)
public List<AllowedHostPath> getAllowedHostPaths()
public void setAllowedHostPaths(List<AllowedHostPath> allowedHostPaths)
public void setDefaultAddCapabilities(List<String> defaultAddCapabilities)
public Boolean getDefaultAllowPrivilegeEscalation()
public void setDefaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation)
public FSGroupStrategyOptions getFsGroup()
public void setFsGroup(FSGroupStrategyOptions fsGroup)
public Boolean getHostIPC()
public void setHostIPC(Boolean hostIPC)
public Boolean getHostNetwork()
public void setHostNetwork(Boolean hostNetwork)
public Boolean getHostPID()
public void setHostPID(Boolean hostPID)
public List<HostPortRange> getHostPorts()
public void setHostPorts(List<HostPortRange> hostPorts)
public Boolean getPrivileged()
public void setPrivileged(Boolean privileged)
public Boolean getReadOnlyRootFilesystem()
public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
public void setRequiredDropCapabilities(List<String> requiredDropCapabilities)
public RunAsGroupStrategyOptions getRunAsGroup()
public void setRunAsGroup(RunAsGroupStrategyOptions runAsGroup)
public RunAsUserStrategyOptions getRunAsUser()
public void setRunAsUser(RunAsUserStrategyOptions runAsUser)
public RuntimeClassStrategyOptions getRuntimeClass()
public void setRuntimeClass(RuntimeClassStrategyOptions runtimeClass)
public SELinuxStrategyOptions getSeLinux()
public void setSeLinux(SELinuxStrategyOptions seLinux)
public SupplementalGroupsStrategyOptions getSupplementalGroups()
public void setSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups)
Copyright © 2015–2020 Red Hat. All rights reserved.