kubernetes_asyncio.client.models.v1alpha1_pod_certificate_request_status module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1alpha1_pod_certificate_request_status.V1alpha1PodCertificateRequestStatus(begin_refresh_at=None, certificate_chain=None, conditions=None, not_after=None, not_before=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'begin_refresh_at': 'beginRefreshAt', 'certificate_chain': 'certificateChain', 'conditions': 'conditions', 'not_after': 'notAfter', 'not_before': 'notBefore'}
property begin_refresh_at

Gets the begin_refresh_at of this V1alpha1PodCertificateRequestStatus. # noqa: E501

beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable. This field is only a hint. Kubelet may start refreshing before or after this time if necessary. # noqa: E501

Returns:

The begin_refresh_at of this V1alpha1PodCertificateRequestStatus. # noqa: E501

Return type:

datetime

property certificate_chain

Gets the certificate_chain of this V1alpha1PodCertificateRequestStatus. # noqa: E501

certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type “Denied” is added and this field remains empty. If the signer cannot issue the certificate, a condition of type “Failed” is added and this field remains empty. Validation requirements: 1. certificateChain must consist of one or more PEM-formatted certificates. 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as described in section 4 of RFC5280. If more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers. # noqa: E501

Returns:

The certificate_chain of this V1alpha1PodCertificateRequestStatus. # noqa: E501

Return type:

str

property conditions

Gets the conditions of this V1alpha1PodCertificateRequestStatus. # noqa: E501

conditions applied to the request. The types “Issued”, “Denied”, and “Failed” have special handling. At most one of these conditions may be present, and they must have status “True”. If the request is denied with Reason=UnsupportedKeyType, the signer may suggest a key type that will work in the message field. # noqa: E501

Returns:

The conditions of this V1alpha1PodCertificateRequestStatus. # noqa: E501

Return type:

list[V1Condition]

property not_after

Gets the not_after of this V1alpha1PodCertificateRequestStatus. # noqa: E501

notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain. # noqa: E501

Returns:

The not_after of this V1alpha1PodCertificateRequestStatus. # noqa: E501

Return type:

datetime

property not_before

Gets the not_before of this V1alpha1PodCertificateRequestStatus. # noqa: E501

notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain. # noqa: E501

Returns:

The not_before of this V1alpha1PodCertificateRequestStatus. # noqa: E501

Return type:

datetime

openapi_types = {'begin_refresh_at': 'datetime', 'certificate_chain': 'str', 'conditions': 'list[V1Condition]', 'not_after': 'datetime', 'not_before': 'datetime'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model