update-clusterversion

by joaquinito2051

Helm chartv1.0.1Apache-2.0

A Helm chart to update OpenShift ClusterVersion

About this chart

update-clusterversion

Description

A Helm chart to update OpenShift ClusterVersion

This Chart can be used to start a cluster update using a GitOps approach. All you need are the required channel, the version and (optionally) the image-sha.

All this information can be found by oc get clusterversion/version -o yaml.

Simply select the channel, version etc and update your values file. Once Argo CD syncs the changes the update process will start.

Dependencies

This chart has the following dependencies:

RepositoryNameVersion

It is best used with a full GitOps approach such as Argo CD does. For example, https://github.com/tjungbauer/openshift-clusterconfig-gitops

Maintainers

NameEmailUrl
tjungbauer[email protected]https://blog.stderr.at/

Sources

Source:

Source code: https://github.com/redhat-cop/helm-charts

Parameters

Values

KeyTypeDefaultDescription
channelstring"your-channel"The channel that shall be used for that cluster. The available channels can be found with oc get clusterversion -o yaml Verify the availableUpdates to find the required channel.
desiredVersionstring"your-target-version"The desired version that the cluster shall be updated to. The available versions can be found with oc get clusterversion -o yaml Verify the availableUpdates to find the required version.
imagestring""OPTIONAL: The desired image SHA that the cluster shall be updated to. The available SHA can be found with oc get clusterversion -o yaml Verify the availableUpdates to find the required SHA. This option is optional and typically only used for restricted clusters.

Example values

Update the cluster to version 4.15.15 using the channel stable-4.15

channel: stable-4.15
desiredVersion: 4.15.15

Installing the Chart

To install the chart with the release name my-release:

helm install my-release repo/<chart-name>>

The command deploys the chart on the Kubernetes cluster in the default configuration.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.


Autogenerated from chart metadata using helm-docs v1.12.0

Deploy update-clusterversion with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has update-clusterversion on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartupdate-clusterversion is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply