class Pyrite::Api::Extensions::V1beta1::PodSecurityPolicySpec

Overview

PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.

Defined in:

versions/v1.14/api/extensions/v1beta1/pod_security_policy_spec.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.


def self.new(pull : JSON::PullParser) #

PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.


def self.new(*, allow_privilege_escalation : Bool? = nil, allowed_csi_drivers : Array? = nil, allowed_capabilities : Array? = nil, allowed_flex_volumes : Array? = nil, allowed_host_paths : Array? = nil, allowed_proc_mount_types : Array? = nil, allowed_unsafe_sysctls : Array? = nil, default_add_capabilities : Array? = nil, default_allow_privilege_escalation : Bool? = nil, forbidden_sysctls : Array? = nil, fs_group : Api::Extensions::V1beta1::FSGroupStrategyOptions, host_ipc : Bool? = nil, host_network : Bool? = nil, host_pid : Bool? = nil, host_ports : Array? = nil, privileged : Bool? = nil, read_only_root_filesystem : Bool? = nil, required_drop_capabilities : Array? = nil, run_as_group : Api::Extensions::V1beta1::RunAsGroupStrategyOptions? = nil, run_as_user : Api::Extensions::V1beta1::RunAsUserStrategyOptions, se_linux : Api::Extensions::V1beta1::SELinuxStrategyOptions, supplemental_groups : Api::Extensions::V1beta1::SupplementalGroupsStrategyOptions, volumes : Array? = nil) #

Instance Method Detail

def allow_privilege_escalation : Bool? #

def allow_privilege_escalation=(allow_privilege_escalation : Bool?) #

def allowed_capabilities : Array(String)? #

def allowed_capabilities=(allowed_capabilities : Array(String)?) #

def allowed_csi_drivers : Array(Api::Extensions::V1beta1::AllowedCSIDriver)? #

def allowed_csi_drivers=(allowed_csi_drivers : Array(Api::Extensions::V1beta1::AllowedCSIDriver)?) #

def allowed_flex_volumes : Array(Api::Extensions::V1beta1::AllowedFlexVolume)? #

def allowed_flex_volumes=(allowed_flex_volumes : Array(Api::Extensions::V1beta1::AllowedFlexVolume)?) #

def allowed_host_paths : Array(Api::Extensions::V1beta1::AllowedHostPath)? #

def allowed_host_paths=(allowed_host_paths : Array(Api::Extensions::V1beta1::AllowedHostPath)?) #

def allowed_proc_mount_types : Array(String)? #

def allowed_proc_mount_types=(allowed_proc_mount_types : Array(String)?) #

def allowed_unsafe_sysctls : Array(String)? #

def allowed_unsafe_sysctls=(allowed_unsafe_sysctls : Array(String)?) #

def default_add_capabilities : Array(String)? #

def default_add_capabilities=(default_add_capabilities : Array(String)?) #

def default_allow_privilege_escalation : Bool? #

def default_allow_privilege_escalation=(default_allow_privilege_escalation : Bool?) #

def forbidden_sysctls : Array(String)? #

def forbidden_sysctls=(forbidden_sysctls : Array(String)?) #



def host_ipc : Bool? #

def host_ipc=(host_ipc : Bool?) #

def host_network : Bool? #

def host_network=(host_network : Bool?) #

def host_pid : Bool? #

def host_pid=(host_pid : Bool?) #

def host_ports : Array(Api::Extensions::V1beta1::HostPortRange)? #

def host_ports=(host_ports : Array(Api::Extensions::V1beta1::HostPortRange)?) #

def privileged : Bool? #

def privileged=(privileged : Bool?) #

def read_only_root_filesystem : Bool? #

def read_only_root_filesystem=(read_only_root_filesystem : Bool?) #

def required_drop_capabilities : Array(String)? #

def required_drop_capabilities=(required_drop_capabilities : Array(String)?) #


def run_as_group=(run_as_group : Api::Extensions::V1beta1::RunAsGroupStrategyOptions?) #


def run_as_user=(run_as_user : Api::Extensions::V1beta1::RunAsUserStrategyOptions) #




def supplemental_groups=(supplemental_groups : Api::Extensions::V1beta1::SupplementalGroupsStrategyOptions) #

def volumes : Array(String)? #

def volumes=(volumes : Array(String)?) #