class K8S::Api::Core::V1::ServiceAccountTokenProjection
- K8S::Api::Core::V1::ServiceAccountTokenProjection
- Reference
- Object
Overview
ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.21/api/core/v1/service_account_token_projection.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, path : String, audience : String? = nil, expiration_seconds : Int32? = nil)
Instance Method Summary
- #audience : String?
- #audience=(audience : String?)
- #expiration_seconds : Int32?
- #expiration_seconds=(expiration_seconds : Int32?)
- #path : String
- #path=(path : String)