Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit c731a1a

Browse files
committed
Fix crs-cni label for templates
Signed-off-by: Chris Privitere <[email protected]>
1 parent 60b0e9c commit c731a1a

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

templates/cluster-template-kube-vip-crs-cni.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ apiVersion: cluster.x-k8s.io/v1beta1
5959
kind: Cluster
6060
metadata:
6161
labels:
62-
cni: ${CLUSTER_NAME}-kube-vip
62+
cni: ${CLUSTER_NAME}-crs-cni
6363
name: ${CLUSTER_NAME}
6464
spec:
6565
clusterNetwork:

templates/cluster-template-kube-vip.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ spec:
3939
apiVersion: cluster.x-k8s.io/v1beta1
4040
kind: Cluster
4141
metadata:
42-
labels:
43-
cni: ${CLUSTER_NAME}-kube-vip
4442
name: ${CLUSTER_NAME}
4543
spec:
4644
clusterNetwork:

templates/experimental-kube-vip-crs-cni/kustomization.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ kind: Kustomization
44
resources:
55
- ../experimental-kube-vip
66
- ../bases/crs-cni.yaml
7+
patches:
8+
- patch: |-
9+
kind: Cluster
10+
apiVersion: cluster.x-k8s.io/v1beta1
11+
metadata:
12+
name: not-used
13+
labels:
14+
cni: "${CLUSTER_NAME}-crs-cni"
15+
target:
16+
kind: Cluster

templates/experimental-kube-vip/kustomization.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@ kind: Kustomization
44
resources:
55
- ../cluster-template.yaml
66
patches:
7-
- patch: |-
8-
kind: Cluster
9-
apiVersion: cluster.x-k8s.io/v1beta1
10-
metadata:
11-
name: not-used
12-
labels:
13-
cni: "${CLUSTER_NAME}-kube-vip"
14-
target:
15-
kind: Cluster
167
- patch: |-
178
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
189
kind: PacketCluster

0 commit comments

Comments
 (0)