Skip to content

Commit

Permalink
re-add labels and swap field order
Browse files Browse the repository at this point in the history
  • Loading branch information
jriedel-ionos committed Jun 18, 2024
1 parent f590998 commit 90d7aa9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/cluster-template-calico.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -441,5 +441,5 @@ spec:
matchLabels:
cluster.x-k8s.io/cluster-name: '${CLUSTER_NAME}'
resources:
- kind: ConfigMap
name: calico
- name: calico
kind: ConfigMap
4 changes: 4 additions & 0 deletions test/e2e/data/infrastructure-ionoscloud/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
metadata:
name: "${CLUSTER_NAME}-workers"
labels:
cluster.x-k8s.io/cluster-name: "${CLUSTER_NAME}"
spec:
clusterName: "${CLUSTER_NAME}"
replicas: ${WORKER_MACHINE_COUNT}
Expand Down Expand Up @@ -433,6 +435,8 @@ data: ${CNI_RESOURCES}
apiVersion: addons.cluster.x-k8s.io/v1beta1
kind: ClusterResourceSet
metadata:
labels:
cluster.x-k8s.io/cluster-name: '${CLUSTER_NAME}'
name: "${CLUSTER_NAME}-crs-0"
spec:
strategy: ApplyOnce
Expand Down

0 comments on commit 90d7aa9

Please sign in to comment.