class Pyrite::Api::Rbac::V1::RoleBinding
- Pyrite::Api::Rbac::V1::RoleBinding
- Pyrite::Kubernetes::Object
- Pyrite::Kubernetes::Resource
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.
Defined in:
versions/v1.14/api/rbac/v1/role_binding.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
RoleBinding references a role, but does not contain it.
-
.new(pull : JSON::PullParser)
RoleBinding references a role, but does not contain it.
- .new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, role_ref : Api::Rbac::V1::RoleRef, subjects : Array? = nil)
Instance Method Summary
- #role_ref : Api::Rbac::V1::RoleRef
- #role_ref=(role_ref : Api::Rbac::V1::RoleRef)
- #subjects : Array(Api::Rbac::V1::Subject)?
- #subjects=(subjects : Array(Api::Rbac::V1::Subject)?)
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
RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.
RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.