Skip to content

Commit b62c89b

Browse files
committed
Migrate syself subjects to new Cluster API version
see https://syself.com/docs/hetzner/apalla/concepts/capi-v1beta2#migration-guide Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
1 parent 28c8bad commit b62c89b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

playbooks/.config/scs/syself-cluster.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: cluster.x-k8s.io/v1beta1
1+
apiVersion: cluster.x-k8s.io/v1beta2
22
kind: Cluster
33
metadata:
44
name: '{{ name }}'
@@ -13,7 +13,8 @@ spec:
1313
# the following variables can be determined automatically using autoVars: syself
1414
# for this detection, we list all clusterstackrelease objects and select the latest one that fits the
1515
# requested kubernetesVersion
16-
class: '{{ cs_class_name }}'
16+
classRef:
17+
name: '{{ cs_class_name }}'
1718
version: '{{ cs_version }}'
1819
controlPlane:
1920
replicas: {{ num_control_nodes }}

0 commit comments

Comments
 (0)