Class V1alpha1ClusterTrustBundleSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha1ClusterTrustBundleSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha1ClusterTrustBundleSpec
extends Object
ClusterTrustBundleSpec contains the signer and trust anchors.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
signerName indicates the associated signer, if any.trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.int
hashCode()
void
setSignerName
(String signerName) Set the signerName property valuevoid
setTrustBundle
(String trustBundle) Set the trustBundle property valuesignerName
(String signerName) Set signerName in a chainable fashion.toString()
trustBundle
(String trustBundle) Set trustBundle in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_TRUST_BUNDLE
- See Also:
-
JSON_PROPERTY_SIGNER_NAME
- See Also:
-
-
Constructor Details
-
V1alpha1ClusterTrustBundleSpec
-
-
Method Details
-
getTrustBundle
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.- Returns:
- the trustBundle property value
-
setTrustBundle
Set the trustBundle property value- Parameters:
trustBundle
- property value to set
-
trustBundle
Set trustBundle in a chainable fashion.- Returns:
- The same instance of V1alpha1ClusterTrustBundleSpec for chaining.
-
getSignerName
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.- Returns:
- the signerName property value
-
setSignerName
Set the signerName property value- Parameters:
signerName
- property value to set
-
signerName
Set signerName in a chainable fashion.- Returns:
- The same instance of V1alpha1ClusterTrustBundleSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-