![JAR search and dependency download from the Maven repository](/logo.png)
io.k8s.api.certificates.v1alpha1.ClusterTrustBundleSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.certificates.v1alpha1;
import java.lang.String;
/**
* ClusterTrustBundleSpec contains the signer and trust anchors.
*/
public class ClusterTrustBundleSpec {
public String signerName;
public String trustBundle;
/**
* signerName indicates the associated signer, if any.
*
* In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.
*
* If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name `example.com/foo`, valid ClusterTrustBundle object names include `example.com:foo:abc` and `example.com:foo:v1`.
*
* If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.
*
* List/watch requests for ClusterTrustBundles can filter on this field using a `spec.signerName=NAME` field selector.
*/
public ClusterTrustBundleSpec signerName(String signerName) {
this.signerName = signerName;
return this;
}
/**
* trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.
*
* The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.
*
* Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.
*/
public ClusterTrustBundleSpec trustBundle(String trustBundle) {
this.trustBundle = trustBundle;
return this;
}
public static ClusterTrustBundleSpec clusterTrustBundleSpec() {
return new ClusterTrustBundleSpec();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy