You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an SCS Developer, I want to have a generic Cluster Stacks definition, so I can use it for various Kubernetes versions.
Since the ClusterClass has no dependency to the Kubernetes version, we should reuse this to prevent repeating ourselves.
With this approach we save a lot of work and still follow value proposition we deliver with Cluster Stacks, as the target release assets are still always the same.
Create a script to fill a source Cluster Stack directory with specific versions
Can probably be done using Helm templating
Let Renovate have a look on the versions file
The source Cluster Stack directory should still be usable using e.g. helm install or helm template
Some ClusterAddons have specific versions per Kubernetes version. For example the applications of the cloud-provider-openstack have the same major and minor version as the Kubernetes version, but the Helm chart versions differ again, those can be found out with e.g. helm search repo:
helm search repo cinder-csi -l
NAME CHART VERSION APP VERSION DESCRIPTION
cpo/openstack-cinder-csi 2.30.0 v1.30.0 Cinder CSI Chart for OpenStack
cpo/openstack-cinder-csi 2.29.0 v1.29.0 Cinder CSI Chart for OpenStack
cpo/openstack-cinder-csi 2.28.2 v1.28.2 Cinder CSI Chart for OpenStack
cpo/openstack-cinder-csi 2.28.1 v1.28.1 Cinder CSI Chart for OpenStack
cpo/openstack-cinder-csi 2.28.0 v1.28.0 Cinder CSI Chart for OpenStack
cpo/openstack-cinder-csi 2.27.3 v1.27.3 Cinder CSI Chart for OpenStack
The versions can be managed e.g. in a yaml file like this:
We want to have a Cluster Stack directory in the same format, but without the version in it, so the path providers/openstack/scs/<version>/<helm charts> becomes providers/openstack/scs/<helm charts>.
To still make it possible to create release assets for Cluster Stacks using csctl, the script should take the directory, loop over a versions file and create multiple directories in the old structure.
As an SCS Developer, I want to have a generic Cluster Stacks definition, so I can use it for various Kubernetes versions.
Since the ClusterClass has no dependency to the Kubernetes version, we should reuse this to prevent repeating ourselves.
With this approach we save a lot of work and still follow value proposition we deliver with Cluster Stacks, as the target release assets are still always the same.
helm install
orhelm template
Some ClusterAddons have specific versions per Kubernetes version. For example the applications of the cloud-provider-openstack have the same major and minor version as the Kubernetes version, but the Helm chart versions differ again, those can be found out with e.g.
helm search repo
:The versions can be managed e.g. in a yaml file like this:
We want to have a Cluster Stack directory in the same format, but without the version in it, so the path
providers/openstack/scs/<version>/<helm charts>
becomesproviders/openstack/scs/<helm charts>
.To still make it possible to create release assets for Cluster Stacks using
csctl
, the script should take the directory, loop over a versions file and create multiple directories in theold
structure.A versions file could look like this:
Currently the
tree
foralpha/1-27
looks like thisBased on this, following files and values need to be touched:
<major>-<minor>
<major>-<minor>
SemVer
, e.g.v1.27.14
v1.27
ANDv1.27.14
The text was updated successfully, but these errors were encountered: