Class 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
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)