struct
Kubernetes::VolumeProjection
- Kubernetes::VolumeProjection
- Struct
- Value
- Object
Overview
Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#cluster_trust_bundle : ClusterTrustBundleProjection | Nil
ClusterTrustBundle allows a pod to access the
.spec.trustBundlefield of ClusterTrustBundle objects in an auto-updating file. -
#cluster_trust_bundle=(cluster_trust_bundle : ClusterTrustBundleProjection | Nil)
ClusterTrustBundle allows a pod to access the
.spec.trustBundlefield of ClusterTrustBundle objects in an auto-updating file. -
#config_map : ConfigMapProjection | Nil
configMap information about the configMap data to project
-
#config_map=(config_map : ConfigMapProjection | Nil)
configMap information about the configMap data to project
-
#downward_api : DownwardAPIProjection | Nil
downwardAPI information about the downwardAPI data to project
-
#downward_api=(downward_api : DownwardAPIProjection | Nil)
downwardAPI information about the downwardAPI data to project
-
#pod_certificate : PodCertificateProjection | Nil
Projects an auto-rotating credential bundle (private key and certificate chain) that the pod can use either as a TLS client or server.
-
#pod_certificate=(pod_certificate : PodCertificateProjection | Nil)
Projects an auto-rotating credential bundle (private key and certificate chain) that the pod can use either as a TLS client or server.
-
#secret : SecretProjection | Nil
secret information about the secret data to project
-
#secret=(secret : SecretProjection | Nil)
secret information about the secret data to project
-
#service_account_token : ServiceAccountTokenProjection | Nil
serviceAccountToken is information about the serviceAccountToken data to project
-
#service_account_token=(service_account_token : ServiceAccountTokenProjection | Nil)
serviceAccountToken is information about the serviceAccountToken data to project
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
ClusterTrustBundle allows a pod to access the .spec.trustBundle field of ClusterTrustBundle objects in an auto-updating file.
Alpha, gated by the ClusterTrustBundleProjection feature gate.
ClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.
Kubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.
ClusterTrustBundle allows a pod to access the .spec.trustBundle field of ClusterTrustBundle objects in an auto-updating file.
Alpha, gated by the ClusterTrustBundleProjection feature gate.
ClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.
Kubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.
configMap information about the configMap data to project
configMap information about the configMap data to project
downwardAPI information about the downwardAPI data to project
downwardAPI information about the downwardAPI data to project
Projects an auto-rotating credential bundle (private key and certificate chain) that the pod can use either as a TLS client or server. Kubelet generates a private key and uses it to send a PodCertificateRequest to the named signer. Once the signer approves the request and issues a certificate chain, Kubelet writes the key and certificate chain to the pod filesystem. The pod does not start until certificates have been issued for each podCertificate projected volume source in its spec. Kubelet will begin trying to rotate the certificate at the time indicated by the signer using the PodCertificateRequest.Status.BeginRefreshAt timestamp. Kubelet can write a single file, indicated by the credentialBundlePath field, or separate files, indicated by the keyPath and certificateChainPath fields. The credential bundle is a single file in PEM format. The first PEM entry is the private key (in PKCS#8 format), and the remaining PEM entries are the certificate chain issued by the signer (typically, signers will return their certificate chain in leaf-to-root order). Prefer using the credential bundle format, since your application code can read it atomically. If you use keyPath and certificateChainPath, your application must make two separate file reads. If these coincide with a certificate rotation, it is possible that the private key and leaf certificate you read may not correspond to each other. Your application will need to check for this condition, and re-read until they are consistent. The named signer controls chooses the format of the certificate it issues; consult the signer implementation's documentation to learn how to use the certificates it issues.
Projects an auto-rotating credential bundle (private key and certificate chain) that the pod can use either as a TLS client or server. Kubelet generates a private key and uses it to send a PodCertificateRequest to the named signer. Once the signer approves the request and issues a certificate chain, Kubelet writes the key and certificate chain to the pod filesystem. The pod does not start until certificates have been issued for each podCertificate projected volume source in its spec. Kubelet will begin trying to rotate the certificate at the time indicated by the signer using the PodCertificateRequest.Status.BeginRefreshAt timestamp. Kubelet can write a single file, indicated by the credentialBundlePath field, or separate files, indicated by the keyPath and certificateChainPath fields. The credential bundle is a single file in PEM format. The first PEM entry is the private key (in PKCS#8 format), and the remaining PEM entries are the certificate chain issued by the signer (typically, signers will return their certificate chain in leaf-to-root order). Prefer using the credential bundle format, since your application code can read it atomically. If you use keyPath and certificateChainPath, your application must make two separate file reads. If these coincide with a certificate rotation, it is possible that the private key and leaf certificate you read may not correspond to each other. Your application will need to check for this condition, and re-read until they are consistent. The named signer controls chooses the format of the certificate it issues; consult the signer implementation's documentation to learn how to use the certificates it issues.
serviceAccountToken is information about the serviceAccountToken data to project
serviceAccountToken is information about the serviceAccountToken data to project