Class PodCertificateRequestStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.certificates.v1alpha1.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 Summary
Constructors Constructor Description PodCertificateRequestStatus()No args constructor for use in serializationPodCertificateRequestStatus(String beginRefreshAt, String certificateChain, List<io.fabric8.kubernetes.api.model.Condition> conditions, String notAfter, String notBefore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodCertificateRequestStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetBeginRefreshAt()PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.StringgetCertificateChain()certificateChain is populated with an issued certificate by the signer.List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions applied to the request.StringgetNotAfter()PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.StringgetNotBefore()PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBeginRefreshAt(String beginRefreshAt)PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.voidsetCertificateChain(String certificateChain)certificateChain is populated with an issued certificate by the signer.voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions applied to the request.voidsetNotAfter(String notAfter)PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.voidsetNotBefore(String notBefore)PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.PodCertificateRequestStatusBuildertoBuilder()
-
-
-
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.
-
edit
public PodCertificateRequestStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PodCertificateRequestStatusBuilder>
-
toBuilder
public PodCertificateRequestStatusBuilder toBuilder()
-
-