class K8S::Api::Core::V1::PodSecurityContext

Overview

PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.

Included Modules

Defined in:

versions/v1.13/api/core/v1/pod_security_context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, fs_group : Int32? = nil, run_as_group : Int32? = nil, run_as_non_root : Bool? = nil, run_as_user : Int32? = nil, se_linux_options : Api::Core::V1::SELinuxOptions? = nil, supplemental_groups : Array? = nil, sysctls : Array? = nil) #

[View source]

Instance Method Detail

def fs_group : Int32? #

[View source]
def fs_group=(fs_group : Int32?) #

[View source]
def run_as_group : Int32? #

[View source]
def run_as_group=(run_as_group : Int32?) #

[View source]
def run_as_non_root : Bool? #

[View source]
def run_as_non_root=(run_as_non_root : Bool?) #

[View source]
def run_as_user : Int32? #

[View source]
def run_as_user=(run_as_user : Int32?) #

[View source]
def se_linux_options : Api::Core::V1::SELinuxOptions? #

[View source]
def se_linux_options=(se_linux_options : Api::Core::V1::SELinuxOptions?) #

[View source]
def supplemental_groups : Array(Int32)? #

[View source]
def supplemental_groups=(supplemental_groups : Array(Int32)?) #

[View source]
def sysctls : Array(Api::Core::V1::Sysctl)? #

[View source]
def sysctls=(sysctls : Array(Api::Core::V1::Sysctl)?) #

[View source]