com.coralogix.zio.k8s.model.certificates.v1
CertificateSigningRequest
Companion object CertificateSigningRequest
case class CertificateSigningRequest(metadata: Optional[ObjectMeta] = Optional.Absent, spec: CertificateSigningRequestSpec, status: Optional[CertificateSigningRequestStatus] = Optional.Absent) extends Product with Serializable
CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.
Kubelets use this API to obtain: \1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).
This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.
- Alphabetic
- By Inheritance
- CertificateSigningRequest
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CertificateSigningRequest(metadata: Optional[ObjectMeta] = Optional.Absent, spec: CertificateSigningRequestSpec, status: Optional[CertificateSigningRequestStatus] = Optional.Absent)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, CertificateSigningRequestSpec]
Gets spec.
Gets spec.
This effect always succeeds, it is safe to use the field spec directly.
-
def
getStatus: IO[K8sFailure, CertificateSigningRequestStatus]
Gets status.
Gets status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val spec: CertificateSigningRequestSpec
- val status: Optional[CertificateSigningRequestStatus]