class Pyrite::Api::Extensions::V1beta1::AllowedHostPath

Overview

AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.

Defined in:

versions/v1.14/api/extensions/v1beta1/allowed_host_path.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) #

AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.


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

AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.


def self.new(*, path_prefix : String? = nil, read_only : Bool? = nil) #

Instance Method Detail

def path_prefix : String? #

def path_prefix=(path_prefix : String?) #

def read_only : Bool? #

def read_only=(read_only : Bool?) #