Class ClusterVersionSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.ClusterVersionSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterVersionSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterVersionSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterVersionSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ClusterVersionSpec is the desired version state of the cluster. It includes the version the cluster should be at, how the cluster is identified, and where the cluster should look for version updates.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterVersionSpec()No args constructor for use in serializationClusterVersionSpec(ClusterVersionCapabilitiesSpec capabilities, String channel, String clusterID, Update desiredUpdate, List<ComponentOverride> overrides, List<SignatureStore> signatureStores, String upstream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterVersionSpecBuilderedit()Map<String,Object>getAdditionalProperties()ClusterVersionCapabilitiesSpecgetCapabilities()ClusterVersionSpec is the desired version state of the cluster.StringgetChannel()channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster.StringgetClusterID()clusterID uniquely identifies this cluster.UpdategetDesiredUpdate()ClusterVersionSpec is the desired version state of the cluster.List<ComponentOverride>getOverrides()overrides is list of overides for components that are managed by cluster version operator.List<SignatureStore>getSignatureStores()signatureStores contains the upstream URIs to verify release signatures and optional reference to a config map by name containing the PEM-encoded CA bundle.StringgetUpstream()upstream may be used to specify the preferred update server.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCapabilities(ClusterVersionCapabilitiesSpec capabilities)ClusterVersionSpec is the desired version state of the cluster.voidsetChannel(String channel)channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster.voidsetClusterID(String clusterID)clusterID uniquely identifies this cluster.voidsetDesiredUpdate(Update desiredUpdate)ClusterVersionSpec is the desired version state of the cluster.voidsetOverrides(List<ComponentOverride> overrides)overrides is list of overides for components that are managed by cluster version operator.voidsetSignatureStores(List<SignatureStore> signatureStores)signatureStores contains the upstream URIs to verify release signatures and optional reference to a config map by name containing the PEM-encoded CA bundle.voidsetUpstream(String upstream)upstream may be used to specify the preferred update server.ClusterVersionSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
ClusterVersionSpec
public ClusterVersionSpec()
No args constructor for use in serialization
-
ClusterVersionSpec
public ClusterVersionSpec(ClusterVersionCapabilitiesSpec capabilities, String channel, String clusterID, Update desiredUpdate, List<ComponentOverride> overrides, List<SignatureStore> signatureStores, String upstream)
-
-
Method Detail
-
getCapabilities
public ClusterVersionCapabilitiesSpec getCapabilities()
ClusterVersionSpec is the desired version state of the cluster. It includes the version the cluster should be at, how the cluster is identified, and where the cluster should look for version updates.
-
setCapabilities
public void setCapabilities(ClusterVersionCapabilitiesSpec capabilities)
ClusterVersionSpec is the desired version state of the cluster. It includes the version the cluster should be at, how the cluster is identified, and where the cluster should look for version updates.
-
getChannel
public String getChannel()
channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster. The default channel will be contain stable updates that are appropriate for production clusters.
-
setChannel
public void setChannel(String channel)
channel is an identifier for explicitly requesting that a non-default set of updates be applied to this cluster. The default channel will be contain stable updates that are appropriate for production clusters.
-
getClusterID
public String getClusterID()
clusterID uniquely identifies this cluster. This is expected to be an RFC4122 UUID value (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in hexadecimal values). This is a required field.
-
setClusterID
public void setClusterID(String clusterID)
clusterID uniquely identifies this cluster. This is expected to be an RFC4122 UUID value (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in hexadecimal values). This is a required field.
-
getDesiredUpdate
public Update getDesiredUpdate()
ClusterVersionSpec is the desired version state of the cluster. It includes the version the cluster should be at, how the cluster is identified, and where the cluster should look for version updates.
-
setDesiredUpdate
public void setDesiredUpdate(Update desiredUpdate)
ClusterVersionSpec is the desired version state of the cluster. It includes the version the cluster should be at, how the cluster is identified, and where the cluster should look for version updates.
-
getOverrides
public List<ComponentOverride> getOverrides()
overrides is list of overides for components that are managed by cluster version operator. Marking a component unmanaged will prevent the operator from creating or updating the object.
-
setOverrides
public void setOverrides(List<ComponentOverride> overrides)
overrides is list of overides for components that are managed by cluster version operator. Marking a component unmanaged will prevent the operator from creating or updating the object.
-
getSignatureStores
public List<SignatureStore> getSignatureStores()
signatureStores contains the upstream URIs to verify release signatures and optional reference to a config map by name containing the PEM-encoded CA bundle.By default, CVO will use existing signature stores if this property is empty. The CVO will check the release signatures in the local ConfigMaps first. It will search for a valid signature in these stores in parallel only when local ConfigMaps did not include a valid signature. Validation will fail if none of the signature stores reply with valid signature before timeout. Setting signatureStores will replace the default signature stores with custom signature stores. Default stores can be used with custom signature stores by adding them manually.
A maximum of 32 signature stores may be configured.
-
setSignatureStores
public void setSignatureStores(List<SignatureStore> signatureStores)
signatureStores contains the upstream URIs to verify release signatures and optional reference to a config map by name containing the PEM-encoded CA bundle.By default, CVO will use existing signature stores if this property is empty. The CVO will check the release signatures in the local ConfigMaps first. It will search for a valid signature in these stores in parallel only when local ConfigMaps did not include a valid signature. Validation will fail if none of the signature stores reply with valid signature before timeout. Setting signatureStores will replace the default signature stores with custom signature stores. Default stores can be used with custom signature stores by adding them manually.
A maximum of 32 signature stores may be configured.
-
getUpstream
public String getUpstream()
upstream may be used to specify the preferred update server. By default it will use the appropriate update server for the cluster and region.
-
setUpstream
public void setUpstream(String upstream)
upstream may be used to specify the preferred update server. By default it will use the appropriate update server for the cluster and region.
-
edit
public ClusterVersionSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterVersionSpecBuilder>
-
toBuilder
public ClusterVersionSpecBuilder toBuilder()
-
-