class Pyrite::Api::Policy::V1beta1::PodSecurityPolicy
- Pyrite::Api::Policy::V1beta1::PodSecurityPolicy
- Pyrite::Kubernetes::Object
- Pyrite::Kubernetes::Resource
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.
Defined in:
versions/v1.14/api/policy/v1beta1/pod_security_policy.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.
-
.new(pull : JSON::PullParser)
PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.
- .new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Policy::V1beta1::PodSecurityPolicySpec? = nil)
Instance Method Summary
- #spec : Api::Policy::V1beta1::PodSecurityPolicySpec?
- #spec=(spec : Api::Policy::V1beta1::PodSecurityPolicySpec?)
Instance methods inherited from class Pyrite::Kubernetes::Object
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
metadata=
Constructor methods inherited from class Pyrite::Kubernetes::Object
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Instance methods inherited from class Pyrite::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class Pyrite::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
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)
#
PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.
def self.new(pull : JSON::PullParser)
#
PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.
def self.new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Policy::V1beta1::PodSecurityPolicySpec? = nil)
#