Rancher 2 v6.1.1 published on Friday, May 10, 2024 by Pulumi
rancher2.getPodSecurityPolicyTemplate
Explore with Pulumi AI
Use this data source to retrieve information about a Rancher v2 PodSecurityPolicyTemplate.
Example Usage
data "rancher2_pod_security_policy_template" "foo" {
name = "foo"
}
Using getPodSecurityPolicyTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPodSecurityPolicyTemplate(args: GetPodSecurityPolicyTemplateArgs, opts?: InvokeOptions): Promise<GetPodSecurityPolicyTemplateResult>
function getPodSecurityPolicyTemplateOutput(args: GetPodSecurityPolicyTemplateOutputArgs, opts?: InvokeOptions): Output<GetPodSecurityPolicyTemplateResult>
def get_pod_security_policy_template(allow_privilege_escalation: Optional[bool] = None,
allowed_capabilities: Optional[Sequence[str]] = None,
allowed_csi_drivers: Optional[Sequence[GetPodSecurityPolicyTemplateAllowedCsiDriver]] = None,
allowed_flex_volumes: Optional[Sequence[GetPodSecurityPolicyTemplateAllowedFlexVolume]] = None,
allowed_host_paths: Optional[Sequence[GetPodSecurityPolicyTemplateAllowedHostPath]] = None,
allowed_proc_mount_types: Optional[Sequence[str]] = None,
allowed_unsafe_sysctls: Optional[Sequence[str]] = None,
annotations: Optional[Mapping[str, Any]] = None,
default_add_capabilities: Optional[Sequence[str]] = None,
default_allow_privilege_escalation: Optional[bool] = None,
description: Optional[str] = None,
forbidden_sysctls: Optional[Sequence[str]] = None,
fs_group: Optional[GetPodSecurityPolicyTemplateFsGroup] = None,
host_ipc: Optional[bool] = None,
host_network: Optional[bool] = None,
host_pid: Optional[bool] = None,
host_ports: Optional[Sequence[GetPodSecurityPolicyTemplateHostPort]] = None,
labels: Optional[Mapping[str, Any]] = None,
name: Optional[str] = None,
privileged: Optional[bool] = None,
read_only_root_filesystem: Optional[bool] = None,
required_drop_capabilities: Optional[Sequence[str]] = None,
run_as_group: Optional[GetPodSecurityPolicyTemplateRunAsGroup] = None,
run_as_user: Optional[GetPodSecurityPolicyTemplateRunAsUser] = None,
runtime_class: Optional[GetPodSecurityPolicyTemplateRuntimeClass] = None,
se_linux: Optional[GetPodSecurityPolicyTemplateSeLinux] = None,
supplemental_group: Optional[GetPodSecurityPolicyTemplateSupplementalGroup] = None,
volumes: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetPodSecurityPolicyTemplateResult
def get_pod_security_policy_template_output(allow_privilege_escalation: Optional[pulumi.Input[bool]] = None,
allowed_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
allowed_csi_drivers: Optional[pulumi.Input[Sequence[pulumi.Input[GetPodSecurityPolicyTemplateAllowedCsiDriverArgs]]]] = None,
allowed_flex_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs]]]] = None,
allowed_host_paths: Optional[pulumi.Input[Sequence[pulumi.Input[GetPodSecurityPolicyTemplateAllowedHostPathArgs]]]] = None,
allowed_proc_mount_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None,
default_add_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
default_allow_privilege_escalation: Optional[pulumi.Input[bool]] = None,
description: Optional[pulumi.Input[str]] = None,
forbidden_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
fs_group: Optional[pulumi.Input[GetPodSecurityPolicyTemplateFsGroupArgs]] = None,
host_ipc: Optional[pulumi.Input[bool]] = None,
host_network: Optional[pulumi.Input[bool]] = None,
host_pid: Optional[pulumi.Input[bool]] = None,
host_ports: Optional[pulumi.Input[Sequence[pulumi.Input[GetPodSecurityPolicyTemplateHostPortArgs]]]] = None,
labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
name: Optional[pulumi.Input[str]] = None,
privileged: Optional[pulumi.Input[bool]] = None,
read_only_root_filesystem: Optional[pulumi.Input[bool]] = None,
required_drop_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
run_as_group: Optional[pulumi.Input[GetPodSecurityPolicyTemplateRunAsGroupArgs]] = None,
run_as_user: Optional[pulumi.Input[GetPodSecurityPolicyTemplateRunAsUserArgs]] = None,
runtime_class: Optional[pulumi.Input[GetPodSecurityPolicyTemplateRuntimeClassArgs]] = None,
se_linux: Optional[pulumi.Input[GetPodSecurityPolicyTemplateSeLinuxArgs]] = None,
supplemental_group: Optional[pulumi.Input[GetPodSecurityPolicyTemplateSupplementalGroupArgs]] = None,
volumes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPodSecurityPolicyTemplateResult]
func LookupPodSecurityPolicyTemplate(ctx *Context, args *LookupPodSecurityPolicyTemplateArgs, opts ...InvokeOption) (*LookupPodSecurityPolicyTemplateResult, error)
func LookupPodSecurityPolicyTemplateOutput(ctx *Context, args *LookupPodSecurityPolicyTemplateOutputArgs, opts ...InvokeOption) LookupPodSecurityPolicyTemplateResultOutput
> Note: This function is named LookupPodSecurityPolicyTemplate
in the Go SDK.
public static class GetPodSecurityPolicyTemplate
{
public static Task<GetPodSecurityPolicyTemplateResult> InvokeAsync(GetPodSecurityPolicyTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetPodSecurityPolicyTemplateResult> Invoke(GetPodSecurityPolicyTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPodSecurityPolicyTemplateResult> getPodSecurityPolicyTemplate(GetPodSecurityPolicyTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rancher2:index/getPodSecurityPolicyTemplate:getPodSecurityPolicyTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the PodSecurityPolicyTemplate (string)
- Allow
Privilege boolEscalation - = (Optional)
- Allowed
Capabilities List<string> - (list)
- Allowed
Csi List<GetDrivers Pod Security Policy Template Allowed Csi Driver> - (list)
- Allowed
Flex List<GetVolumes Pod Security Policy Template Allowed Flex Volume> - (list)
- Allowed
Host List<GetPaths Pod Security Policy Template Allowed Host Path> - (list)
- Allowed
Proc List<string>Mount Types - (list)
- Allowed
Unsafe List<string>Sysctls - (list)
- Annotations Dictionary<string, object>
- Annotations for PodSecurityPolicyTemplate object (map)
- Default
Add List<string>Capabilities - (list)
- Default
Allow boolPrivilege Escalation - (list)
- Description string
- The PodSecurityPolicyTemplate description (string)
- Forbidden
Sysctls List<string> - (list)
- Fs
Group GetPod Security Policy Template Fs Group - (list maxitems:1)
- Host
Ipc bool - (bool)
- Host
Network bool - Host
Pid bool - (bool)
- Host
Ports List<GetPod Security Policy Template Host Port> - (list)
- Labels Dictionary<string, object>
- Labels for PodSecurityPolicyTemplate object (map)
- Privileged bool
- (bool)
- Read
Only boolRoot Filesystem - (bool)
- Required
Drop List<string>Capabilities - (list)
- Run
As GetGroup Pod Security Policy Template Run As Group - (list maxitems:1)
- Run
As GetUser Pod Security Policy Template Run As User - (list maxitems:1)
- Runtime
Class GetPod Security Policy Template Runtime Class - (list maxitems:1)
- Se
Linux GetPod Security Policy Template Se Linux - (list maxitems:1)
- Supplemental
Group GetPod Security Policy Template Supplemental Group - (list maxitems:1)
- Volumes List<string>
- (list)
- Name string
- The name of the PodSecurityPolicyTemplate (string)
- Allow
Privilege boolEscalation - = (Optional)
- Allowed
Capabilities []string - (list)
- Allowed
Csi []GetDrivers Pod Security Policy Template Allowed Csi Driver - (list)
- Allowed
Flex []GetVolumes Pod Security Policy Template Allowed Flex Volume - (list)
- Allowed
Host []GetPaths Pod Security Policy Template Allowed Host Path - (list)
- Allowed
Proc []stringMount Types - (list)
- Allowed
Unsafe []stringSysctls - (list)
- Annotations map[string]interface{}
- Annotations for PodSecurityPolicyTemplate object (map)
- Default
Add []stringCapabilities - (list)
- Default
Allow boolPrivilege Escalation - (list)
- Description string
- The PodSecurityPolicyTemplate description (string)
- Forbidden
Sysctls []string - (list)
- Fs
Group GetPod Security Policy Template Fs Group - (list maxitems:1)
- Host
Ipc bool - (bool)
- Host
Network bool - Host
Pid bool - (bool)
- Host
Ports []GetPod Security Policy Template Host Port - (list)
- Labels map[string]interface{}
- Labels for PodSecurityPolicyTemplate object (map)
- Privileged bool
- (bool)
- Read
Only boolRoot Filesystem - (bool)
- Required
Drop []stringCapabilities - (list)
- Run
As GetGroup Pod Security Policy Template Run As Group - (list maxitems:1)
- Run
As GetUser Pod Security Policy Template Run As User - (list maxitems:1)
- Runtime
Class GetPod Security Policy Template Runtime Class - (list maxitems:1)
- Se
Linux GetPod Security Policy Template Se Linux - (list maxitems:1)
- Supplemental
Group GetPod Security Policy Template Supplemental Group - (list maxitems:1)
- Volumes []string
- (list)
- name String
- The name of the PodSecurityPolicyTemplate (string)
- allow
Privilege BooleanEscalation - = (Optional)
- allowed
Capabilities List<String> - (list)
- allowed
Csi List<GetDrivers Pod Security Policy Template Allowed Csi Driver> - (list)
- allowed
Flex List<GetVolumes Pod Security Policy Template Allowed Flex Volume> - (list)
- allowed
Host List<GetPaths Pod Security Policy Template Allowed Host Path> - (list)
- allowed
Proc List<String>Mount Types - (list)
- allowed
Unsafe List<String>Sysctls - (list)
- annotations Map<String,Object>
- Annotations for PodSecurityPolicyTemplate object (map)
- default
Add List<String>Capabilities - (list)
- default
Allow BooleanPrivilege Escalation - (list)
- description String
- The PodSecurityPolicyTemplate description (string)
- forbidden
Sysctls List<String> - (list)
- fs
Group GetPod Security Policy Template Fs Group - (list maxitems:1)
- host
Ipc Boolean - (bool)
- host
Network Boolean - host
Pid Boolean - (bool)
- host
Ports List<GetPod Security Policy Template Host Port> - (list)
- labels Map<String,Object>
- Labels for PodSecurityPolicyTemplate object (map)
- privileged Boolean
- (bool)
- read
Only BooleanRoot Filesystem - (bool)
- required
Drop List<String>Capabilities - (list)
- run
As GetGroup Pod Security Policy Template Run As Group - (list maxitems:1)
- run
As GetUser Pod Security Policy Template Run As User - (list maxitems:1)
- runtime
Class GetPod Security Policy Template Runtime Class - (list maxitems:1)
- se
Linux GetPod Security Policy Template Se Linux - (list maxitems:1)
- supplemental
Group GetPod Security Policy Template Supplemental Group - (list maxitems:1)
- volumes List<String>
- (list)
- name string
- The name of the PodSecurityPolicyTemplate (string)
- allow
Privilege booleanEscalation - = (Optional)
- allowed
Capabilities string[] - (list)
- allowed
Csi GetDrivers Pod Security Policy Template Allowed Csi Driver[] - (list)
- allowed
Flex GetVolumes Pod Security Policy Template Allowed Flex Volume[] - (list)
- allowed
Host GetPaths Pod Security Policy Template Allowed Host Path[] - (list)
- allowed
Proc string[]Mount Types - (list)
- allowed
Unsafe string[]Sysctls - (list)
- annotations {[key: string]: any}
- Annotations for PodSecurityPolicyTemplate object (map)
- default
Add string[]Capabilities - (list)
- default
Allow booleanPrivilege Escalation - (list)
- description string
- The PodSecurityPolicyTemplate description (string)
- forbidden
Sysctls string[] - (list)
- fs
Group GetPod Security Policy Template Fs Group - (list maxitems:1)
- host
Ipc boolean - (bool)
- host
Network boolean - host
Pid boolean - (bool)
- host
Ports GetPod Security Policy Template Host Port[] - (list)
- labels {[key: string]: any}
- Labels for PodSecurityPolicyTemplate object (map)
- privileged boolean
- (bool)
- read
Only booleanRoot Filesystem - (bool)
- required
Drop string[]Capabilities - (list)
- run
As GetGroup Pod Security Policy Template Run As Group - (list maxitems:1)
- run
As GetUser Pod Security Policy Template Run As User - (list maxitems:1)
- runtime
Class GetPod Security Policy Template Runtime Class - (list maxitems:1)
- se
Linux GetPod Security Policy Template Se Linux - (list maxitems:1)
- supplemental
Group GetPod Security Policy Template Supplemental Group - (list maxitems:1)
- volumes string[]
- (list)
- name str
- The name of the PodSecurityPolicyTemplate (string)
- allow_
privilege_ boolescalation - = (Optional)
- allowed_
capabilities Sequence[str] - (list)
- allowed_
csi_ Sequence[Getdrivers Pod Security Policy Template Allowed Csi Driver] - (list)
- allowed_
flex_ Sequence[Getvolumes Pod Security Policy Template Allowed Flex Volume] - (list)
- allowed_
host_ Sequence[Getpaths Pod Security Policy Template Allowed Host Path] - (list)
- allowed_
proc_ Sequence[str]mount_ types - (list)
- allowed_
unsafe_ Sequence[str]sysctls - (list)
- annotations Mapping[str, Any]
- Annotations for PodSecurityPolicyTemplate object (map)
- default_
add_ Sequence[str]capabilities - (list)
- default_
allow_ boolprivilege_ escalation - (list)
- description str
- The PodSecurityPolicyTemplate description (string)
- forbidden_
sysctls Sequence[str] - (list)
- fs_
group GetPod Security Policy Template Fs Group - (list maxitems:1)
- host_
ipc bool - (bool)
- host_
network bool - host_
pid bool - (bool)
- host_
ports Sequence[GetPod Security Policy Template Host Port] - (list)
- labels Mapping[str, Any]
- Labels for PodSecurityPolicyTemplate object (map)
- privileged bool
- (bool)
- read_
only_ boolroot_ filesystem - (bool)
- required_
drop_ Sequence[str]capabilities - (list)
- run_
as_ Getgroup Pod Security Policy Template Run As Group - (list maxitems:1)
- run_
as_ Getuser Pod Security Policy Template Run As User - (list maxitems:1)
- runtime_
class GetPod Security Policy Template Runtime Class - (list maxitems:1)
- se_
linux GetPod Security Policy Template Se Linux - (list maxitems:1)
- supplemental_
group GetPod Security Policy Template Supplemental Group - (list maxitems:1)
- volumes Sequence[str]
- (list)
- name String
- The name of the PodSecurityPolicyTemplate (string)
- allow
Privilege BooleanEscalation - = (Optional)
- allowed
Capabilities List<String> - (list)
- allowed
Csi List<Property Map>Drivers - (list)
- allowed
Flex List<Property Map>Volumes - (list)
- allowed
Host List<Property Map>Paths - (list)
- allowed
Proc List<String>Mount Types - (list)
- allowed
Unsafe List<String>Sysctls - (list)
- annotations Map<Any>
- Annotations for PodSecurityPolicyTemplate object (map)
- default
Add List<String>Capabilities - (list)
- default
Allow BooleanPrivilege Escalation - (list)
- description String
- The PodSecurityPolicyTemplate description (string)
- forbidden
Sysctls List<String> - (list)
- fs
Group Property Map - (list maxitems:1)
- host
Ipc Boolean - (bool)
- host
Network Boolean - host
Pid Boolean - (bool)
- host
Ports List<Property Map> - (list)
- labels Map<Any>
- Labels for PodSecurityPolicyTemplate object (map)
- privileged Boolean
- (bool)
- read
Only BooleanRoot Filesystem - (bool)
- required
Drop List<String>Capabilities - (list)
- run
As Property MapGroup - (list maxitems:1)
- run
As Property MapUser - (list maxitems:1)
- runtime
Class Property Map - (list maxitems:1)
- se
Linux Property Map - (list maxitems:1)
- supplemental
Group Property Map - (list maxitems:1)
- volumes List<String>
- (list)
getPodSecurityPolicyTemplate Result
The following output properties are available:
- Allow
Privilege boolEscalation - Annotations Dictionary<string, object>
- Description string
- Fs
Group GetPod Security Policy Template Fs Group - Host
Ipc bool - Host
Network bool - Host
Pid bool - Host
Ports List<GetPod Security Policy Template Host Port> - Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, object>
- Name string
- Privileged bool
- Read
Only boolRoot Filesystem - Run
As GetUser Pod Security Policy Template Run As User - Se
Linux GetPod Security Policy Template Se Linux - Supplemental
Group GetPod Security Policy Template Supplemental Group - Volumes List<string>
- Allowed
Capabilities List<string> - Allowed
Csi List<GetDrivers Pod Security Policy Template Allowed Csi Driver> - Allowed
Flex List<GetVolumes Pod Security Policy Template Allowed Flex Volume> - Allowed
Host List<GetPaths Pod Security Policy Template Allowed Host Path> - Allowed
Proc List<string>Mount Types - Allowed
Unsafe List<string>Sysctls - Default
Add List<string>Capabilities - Default
Allow boolPrivilege Escalation - Forbidden
Sysctls List<string> - Required
Drop List<string>Capabilities - Run
As GetGroup Pod Security Policy Template Run As Group - Runtime
Class GetPod Security Policy Template Runtime Class
- Allow
Privilege boolEscalation - Annotations map[string]interface{}
- Description string
- Fs
Group GetPod Security Policy Template Fs Group - Host
Ipc bool - Host
Network bool - Host
Pid bool - Host
Ports []GetPod Security Policy Template Host Port - Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]interface{}
- Name string
- Privileged bool
- Read
Only boolRoot Filesystem - Run
As GetUser Pod Security Policy Template Run As User - Se
Linux GetPod Security Policy Template Se Linux - Supplemental
Group GetPod Security Policy Template Supplemental Group - Volumes []string
- Allowed
Capabilities []string - Allowed
Csi []GetDrivers Pod Security Policy Template Allowed Csi Driver - Allowed
Flex []GetVolumes Pod Security Policy Template Allowed Flex Volume - Allowed
Host []GetPaths Pod Security Policy Template Allowed Host Path - Allowed
Proc []stringMount Types - Allowed
Unsafe []stringSysctls - Default
Add []stringCapabilities - Default
Allow boolPrivilege Escalation - Forbidden
Sysctls []string - Required
Drop []stringCapabilities - Run
As GetGroup Pod Security Policy Template Run As Group - Runtime
Class GetPod Security Policy Template Runtime Class
- allow
Privilege BooleanEscalation - annotations Map<String,Object>
- description String
- fs
Group GetPod Security Policy Template Fs Group - host
Ipc Boolean - host
Network Boolean - host
Pid Boolean - host
Ports List<GetPod Security Policy Template Host Port> - id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,Object>
- name String
- privileged Boolean
- read
Only BooleanRoot Filesystem - run
As GetUser Pod Security Policy Template Run As User - se
Linux GetPod Security Policy Template Se Linux - supplemental
Group GetPod Security Policy Template Supplemental Group - volumes List<String>
- allowed
Capabilities List<String> - allowed
Csi List<GetDrivers Pod Security Policy Template Allowed Csi Driver> - allowed
Flex List<GetVolumes Pod Security Policy Template Allowed Flex Volume> - allowed
Host List<GetPaths Pod Security Policy Template Allowed Host Path> - allowed
Proc List<String>Mount Types - allowed
Unsafe List<String>Sysctls - default
Add List<String>Capabilities - default
Allow BooleanPrivilege Escalation - forbidden
Sysctls List<String> - required
Drop List<String>Capabilities - run
As GetGroup Pod Security Policy Template Run As Group - runtime
Class GetPod Security Policy Template Runtime Class
- allow
Privilege booleanEscalation - annotations {[key: string]: any}
- description string
- fs
Group GetPod Security Policy Template Fs Group - host
Ipc boolean - host
Network boolean - host
Pid boolean - host
Ports GetPod Security Policy Template Host Port[] - id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: any}
- name string
- privileged boolean
- read
Only booleanRoot Filesystem - run
As GetUser Pod Security Policy Template Run As User - se
Linux GetPod Security Policy Template Se Linux - supplemental
Group GetPod Security Policy Template Supplemental Group - volumes string[]
- allowed
Capabilities string[] - allowed
Csi GetDrivers Pod Security Policy Template Allowed Csi Driver[] - allowed
Flex GetVolumes Pod Security Policy Template Allowed Flex Volume[] - allowed
Host GetPaths Pod Security Policy Template Allowed Host Path[] - allowed
Proc string[]Mount Types - allowed
Unsafe string[]Sysctls - default
Add string[]Capabilities - default
Allow booleanPrivilege Escalation - forbidden
Sysctls string[] - required
Drop string[]Capabilities - run
As GetGroup Pod Security Policy Template Run As Group - runtime
Class GetPod Security Policy Template Runtime Class
- allow_
privilege_ boolescalation - annotations Mapping[str, Any]
- description str
- fs_
group GetPod Security Policy Template Fs Group - host_
ipc bool - host_
network bool - host_
pid bool - host_
ports Sequence[GetPod Security Policy Template Host Port] - id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, Any]
- name str
- privileged bool
- read_
only_ boolroot_ filesystem - run_
as_ Getuser Pod Security Policy Template Run As User - se_
linux GetPod Security Policy Template Se Linux - supplemental_
group GetPod Security Policy Template Supplemental Group - volumes Sequence[str]
- allowed_
capabilities Sequence[str] - allowed_
csi_ Sequence[Getdrivers Pod Security Policy Template Allowed Csi Driver] - allowed_
flex_ Sequence[Getvolumes Pod Security Policy Template Allowed Flex Volume] - allowed_
host_ Sequence[Getpaths Pod Security Policy Template Allowed Host Path] - allowed_
proc_ Sequence[str]mount_ types - allowed_
unsafe_ Sequence[str]sysctls - default_
add_ Sequence[str]capabilities - default_
allow_ boolprivilege_ escalation - forbidden_
sysctls Sequence[str] - required_
drop_ Sequence[str]capabilities - run_
as_ Getgroup Pod Security Policy Template Run As Group - runtime_
class GetPod Security Policy Template Runtime Class
- allow
Privilege BooleanEscalation - annotations Map<Any>
- description String
- fs
Group Property Map - host
Ipc Boolean - host
Network Boolean - host
Pid Boolean - host
Ports List<Property Map> - id String
- The provider-assigned unique ID for this managed resource.
- labels Map<Any>
- name String
- privileged Boolean
- read
Only BooleanRoot Filesystem - run
As Property MapUser - se
Linux Property Map - supplemental
Group Property Map - volumes List<String>
- allowed
Capabilities List<String> - allowed
Csi List<Property Map>Drivers - allowed
Flex List<Property Map>Volumes - allowed
Host List<Property Map>Paths - allowed
Proc List<String>Mount Types - allowed
Unsafe List<String>Sysctls - default
Add List<String>Capabilities - default
Allow BooleanPrivilege Escalation - forbidden
Sysctls List<String> - required
Drop List<String>Capabilities - run
As Property MapGroup - runtime
Class Property Map
Supporting Types
GetPodSecurityPolicyTemplateAllowedCsiDriver
- Name string
- The name of the PodSecurityPolicyTemplate (string)
- Name string
- The name of the PodSecurityPolicyTemplate (string)
- name String
- The name of the PodSecurityPolicyTemplate (string)
- name string
- The name of the PodSecurityPolicyTemplate (string)
- name str
- The name of the PodSecurityPolicyTemplate (string)
- name String
- The name of the PodSecurityPolicyTemplate (string)
GetPodSecurityPolicyTemplateAllowedFlexVolume
- Driver string
- driver is the name of the Flexvolume driver.
- Driver string
- driver is the name of the Flexvolume driver.
- driver String
- driver is the name of the Flexvolume driver.
- driver string
- driver is the name of the Flexvolume driver.
- driver str
- driver is the name of the Flexvolume driver.
- driver String
- driver is the name of the Flexvolume driver.
GetPodSecurityPolicyTemplateAllowedHostPath
- Path
Prefix string - pathPrefix is the path prefix that the host volume must match. It does not support
*
. Trailing slashes are trimmed when validating the path prefix with a host path. - Read
Only bool - when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
- Path
Prefix string - pathPrefix is the path prefix that the host volume must match. It does not support
*
. Trailing slashes are trimmed when validating the path prefix with a host path. - Read
Only bool - when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
- path
Prefix String - pathPrefix is the path prefix that the host volume must match. It does not support
*
. Trailing slashes are trimmed when validating the path prefix with a host path. - read
Only Boolean - when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
- path
Prefix string - pathPrefix is the path prefix that the host volume must match. It does not support
*
. Trailing slashes are trimmed when validating the path prefix with a host path. - read
Only boolean - when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
- path_
prefix str - pathPrefix is the path prefix that the host volume must match. It does not support
*
. Trailing slashes are trimmed when validating the path prefix with a host path. - read_
only bool - when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
- path
Prefix String - pathPrefix is the path prefix that the host volume must match. It does not support
*
. Trailing slashes are trimmed when validating the path prefix with a host path. - read
Only Boolean - when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
GetPodSecurityPolicyTemplateFsGroup
- Ranges
List<Get
Pod Security Policy Template Fs Group Range> - ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
- Rule string
- rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
- Ranges
[]Get
Pod Security Policy Template Fs Group Range - ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
- Rule string
- rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
- ranges
List<Get
Pod Security Policy Template Fs Group Range> - ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
- rule String
- rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
- ranges
Get
Pod Security Policy Template Fs Group Range[] - ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
- rule string
- rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
- ranges
Sequence[Get
Pod Security Policy Template Fs Group Range] - ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
- rule str
- rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
- ranges List<Property Map>
- ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
- rule String
- rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
GetPodSecurityPolicyTemplateFsGroupRange
GetPodSecurityPolicyTemplateHostPort
GetPodSecurityPolicyTemplateRunAsGroup
- Rule string
- rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
- Ranges
List<Get
Pod Security Policy Template Run As Group Range> - ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
- Rule string
- rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
- Ranges
[]Get
Pod Security Policy Template Run As Group Range - ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
- rule String
- rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
- ranges
List<Get
Pod Security Policy Template Run As Group Range> - ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
- rule string
- rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
- ranges
Get
Pod Security Policy Template Run As Group Range[] - ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
- rule str
- rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
- ranges
Sequence[Get
Pod Security Policy Template Run As Group Range] - ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
- rule String
- rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
- ranges List<Property Map>
- ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
GetPodSecurityPolicyTemplateRunAsGroupRange
GetPodSecurityPolicyTemplateRunAsUser
- Rule string
- rule is the strategy that will dictate the allowable RunAsUser values that may be set.
- Ranges
List<Get
Pod Security Policy Template Run As User Range> - ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
- Rule string
- rule is the strategy that will dictate the allowable RunAsUser values that may be set.
- Ranges
[]Get
Pod Security Policy Template Run As User Range - ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
- rule String
- rule is the strategy that will dictate the allowable RunAsUser values that may be set.
- ranges
List<Get
Pod Security Policy Template Run As User Range> - ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
- rule string
- rule is the strategy that will dictate the allowable RunAsUser values that may be set.
- ranges
Get
Pod Security Policy Template Run As User Range[] - ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
- rule str
- rule is the strategy that will dictate the allowable RunAsUser values that may be set.
- ranges
Sequence[Get
Pod Security Policy Template Run As User Range] - ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
- rule String
- rule is the strategy that will dictate the allowable RunAsUser values that may be set.
- ranges List<Property Map>
- ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
GetPodSecurityPolicyTemplateRunAsUserRange
GetPodSecurityPolicyTemplateRuntimeClass
- Allowed
Runtime List<string>Class Names - allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
- Default
Runtime stringClass Name - defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
- Allowed
Runtime []stringClass Names - allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
- Default
Runtime stringClass Name - defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
- allowed
Runtime List<String>Class Names - allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
- default
Runtime StringClass Name - defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
- allowed
Runtime string[]Class Names - allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
- default
Runtime stringClass Name - defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
- allowed_
runtime_ Sequence[str]class_ names - allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
- default_
runtime_ strclass_ name - defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
- allowed
Runtime List<String>Class Names - allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
- default
Runtime StringClass Name - defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
GetPodSecurityPolicyTemplateSeLinux
- Rule string
- rule is the strategy that will dictate the allowable labels that may be set.
- Se
Linux GetOption Pod Security Policy Template Se Linux Se Linux Option - seLinuxOptions required to run as; required for MustRunAs. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- Rule string
- rule is the strategy that will dictate the allowable labels that may be set.
- Se
Linux GetOption Pod Security Policy Template Se Linux Se Linux Option - seLinuxOptions required to run as; required for MustRunAs. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- rule String
- rule is the strategy that will dictate the allowable labels that may be set.
- se
Linux GetOption Pod Security Policy Template Se Linux Se Linux Option - seLinuxOptions required to run as; required for MustRunAs. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- rule string
- rule is the strategy that will dictate the allowable labels that may be set.
- se
Linux GetOption Pod Security Policy Template Se Linux Se Linux Option - seLinuxOptions required to run as; required for MustRunAs. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- rule str
- rule is the strategy that will dictate the allowable labels that may be set.
- se_
linux_ Getoption Pod Security Policy Template Se Linux Se Linux Option - seLinuxOptions required to run as; required for MustRunAs. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- rule String
- rule is the strategy that will dictate the allowable labels that may be set.
- se
Linux Property MapOption - seLinuxOptions required to run as; required for MustRunAs. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption
GetPodSecurityPolicyTemplateSupplementalGroup
- Ranges
List<Get
Pod Security Policy Template Supplemental Group Range> - ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
- Rule string
- rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
- Ranges
[]Get
Pod Security Policy Template Supplemental Group Range - ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
- Rule string
- rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
- ranges
List<Get
Pod Security Policy Template Supplemental Group Range> - ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
- rule String
- rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
- ranges
Get
Pod Security Policy Template Supplemental Group Range[] - ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
- rule string
- rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
- ranges
Sequence[Get
Pod Security Policy Template Supplemental Group Range] - ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
- rule str
- rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
- ranges List<Property Map>
- ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
- rule String
- rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
GetPodSecurityPolicyTemplateSupplementalGroupRange
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2
Terraform Provider.