Class PodCertificateRequestStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<PodCertificateRequestStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class PodCertificateRequestStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PodCertificateRequestStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.
    See Also:
    Serialized Form
    • Constructor Detail

      • PodCertificateRequestStatus

        public PodCertificateRequestStatus()
        No args constructor for use in serialization
      • PodCertificateRequestStatus

        public PodCertificateRequestStatus​(String beginRefreshAt,
                                           String certificateChain,
                                           List<io.fabric8.kubernetes.api.model.Condition> conditions,
                                           String notAfter,
                                           String notBefore)
    • Method Detail

      • getBeginRefreshAt

        public String getBeginRefreshAt()
        PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.
      • setBeginRefreshAt

        public void setBeginRefreshAt​(String beginRefreshAt)
        PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.
      • getCertificateChain

        public String getCertificateChain()
        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.

      • setCertificateChain

        public void setCertificateChain​(String certificateChain)
        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.

      • getConditions

        public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
        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.

      • setConditions

        public void setConditions​(List<io.fabric8.kubernetes.api.model.Condition> conditions)
        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.

      • getNotAfter

        public String getNotAfter()
        PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.
      • setNotAfter

        public void setNotAfter​(String notAfter)
        PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.
      • getNotBefore

        public String getNotBefore()
        PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.
      • setNotBefore

        public void setNotBefore​(String notBefore)
        PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)