PodCertificateRequest [page]deterministic
PodCertificateRequest encodes a pod requesting a certificate from a given signer. Kubelets use this API to implement podCertificate projected volumes
`apiVersion: certificates.k8s.io/v1beta1`
`import "k8s.io/api/certificates/v1beta1"`
## PodCertificateRequest {#PodCertificateRequest}
PodCertificateRequest encodes a pod requesting a certificate from a given signer.
Kubelets use this API to implement podCertificate projected volumes
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds</td> </tr> <tr> <td><code>metadata</code><br/><em><a href="">ObjectMeta</a></em></td> <td>metadata contains the object metadata.</td> </tr> <tr> <td><code>spec</code> <strong>*</strong><br/><em><a href="">PodCertificateRequestSpec</a></em></td> <td>spec contains the details about the certificate being requested.</td> </tr> <tr> <td><code>status</code><br/><em><a href="">PodCertificateRequestStatus</a></em></td> <td>status contains the issued certificate, and a standard set of conditions.</td> </tr> </tbody> </table>
## PodCertificateRequestSpec {#PodCertificateRequestSpec}
PodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>maxExpirationSeconds</code><br/><em>integer</em></td> <td>maxExpirationSeconds is the maximum lifetime permitted for the certificate. If omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days). The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.</td> </tr> <tr> <td><code>nodeName</code> <strong>*</strong><br/><em>string</em></td> <td>nodeName is the name of the node the pod is assigned to.</td> </tr> <tr> <td><code>nodeUID</code> <strong>*</strong><br/><em>string</em></td> <td>nodeUID is the UID of the node the pod is assigned to.</td> </tr> <tr> <td><code>pkixPublicKey</code><br/><em>string</em></td> <td>The PKIX-serialized public key the signer will issue the certificate to. The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future. Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of "Denied" and a reason of "UnsupportedKeyType". It may also suggest a key type that it does support in the message field. Deprecated: This field is replaced by StubPKCS10Request. If StubPKCS10Request is set, this field must be empty. Signer implementations should extract the public key from the StubPKCS10Request field.</td> </tr> <tr> <td><code>podName</code> <strong>*</strong><br/><em>string</em></td> <td>podName is the name of the pod into which the ce …(trimmed)