class Pyrite::Api::Policy::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.
Defined in:
versions/v1.14/api/policy/v1beta1/allowed_host_path.crConstructors
-
.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.
-
.new(pull : JSON::PullParser)
AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use.
- .new(*, path_prefix : String? = nil, read_only : Bool? = nil)
Instance Method Summary
- #path_prefix : String?
- #path_prefix=(path_prefix : String?)
- #read_only : Bool?
- #read_only=(read_only : Bool?)
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.
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.