Package | Description |
---|---|
io.kubernetes.client.util |
Modifier and Type | Method and Description |
---|---|
static byte[] |
CSRUtils.createAndWaitUntilCertificateSigned(io.kubernetes.client.openapi.ApiClient bootstrapApiClient,
io.kubernetes.client.openapi.models.V1CertificateSigningRequest csr)
Creates the given CertificateSigningRequest object if it doesn't exist, then waits until it's
approved.
|
static io.kubernetes.client.openapi.ApiClient |
ClientBuilder.fromCertificateSigningRequest(io.kubernetes.client.openapi.ApiClient bootstrapApiClient,
PrivateKey privateKey,
io.kubernetes.client.openapi.models.V1CertificateSigningRequest csr)
Returns a new ApiClient instance reading from CertificateSigningRequest.
|
static io.kubernetes.client.openapi.ApiClient |
ClientBuilder.fromCertificateSigningRequest(KubeConfig bootstrapKubeConfig,
PrivateKey privateKey,
io.kubernetes.client.openapi.models.V1CertificateSigningRequest csr)
Returns a new ApiClient instance reading from CertificateSigningRequest.
|
static byte[] |
CSRUtils.waitUntilCertificateSigned(io.kubernetes.client.openapi.ApiClient apiClient,
String csrObjectName)
Wait until the CertificateSigningRequest is approved within a timeout of 30 minutes.
|
static byte[] |
CSRUtils.waitUntilCertificateSigned(io.kubernetes.client.openapi.ApiClient apiClient,
String csrObjectName,
Duration retryInterval,
Duration timeout)
Wait until the CertificateSigningRequest is approved within a timeout of 30 minutes.
|
Copyright © 2022. All rights reserved.