Skip to content

Commit 742615f

Browse files
committed
build: set skip-kube-proxy annotation in examples
1 parent d731967 commit 742615f

File tree

9 files changed

+37
-2
lines changed

9 files changed

+37
-2
lines changed

examples/capi-quick-start/aws-cluster-cilium-crs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ spec:
1616
topology:
1717
class: aws-quick-start
1818
controlPlane:
19+
metadata:
20+
annotations:
21+
controlplane.cluster.x-k8s.io/skip-kube-proxy: ""
1922
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
2023
variables:
2124
- name: clusterConfig

examples/capi-quick-start/aws-cluster-cilium-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ spec:
1616
topology:
1717
class: aws-quick-start
1818
controlPlane:
19+
metadata:
20+
annotations:
21+
controlplane.cluster.x-k8s.io/skip-kube-proxy: ""
1922
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
2023
variables:
2124
- name: clusterConfig

examples/capi-quick-start/nutanix-cluster-cilium-crs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ spec:
5757
topology:
5858
class: nutanix-quick-start
5959
controlPlane:
60-
metadata: {}
60+
metadata:
61+
annotations:
62+
controlplane.cluster.x-k8s.io/skip-kube-proxy: ""
6163
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
6264
variables:
6365
- name: clusterConfig

examples/capi-quick-start/nutanix-cluster-cilium-helm-addon.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ spec:
5757
topology:
5858
class: nutanix-quick-start
5959
controlPlane:
60-
metadata: {}
60+
metadata:
61+
annotations:
62+
controlplane.cluster.x-k8s.io/skip-kube-proxy: ""
6163
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
6264
variables:
6365
- name: clusterConfig

hack/examples/overlays/clusters/aws/cilium/crs/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ patches:
2020
- target:
2121
kind: Cluster
2222
path: ../../../../../patches/aws/crs-strategy.yaml
23+
- target:
24+
kind: Cluster
25+
path: ../../../../../patches/skip-kube-proxy.yaml

hack/examples/overlays/clusters/aws/cilium/helm-addon/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ patches:
1414
- target:
1515
kind: Cluster
1616
path: ../../../../../patches/cilium.yaml
17+
- target:
18+
kind: Cluster
19+
path: ../../../../../patches/skip-kube-proxy.yaml

hack/examples/overlays/clusters/nutanix/cilium/crs/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ patches:
1717
- target:
1818
kind: Cluster
1919
path: ../../../../../patches/crs-strategy.yaml
20+
- target:
21+
kind: Cluster
22+
path: ../../../../../patches/skip-kube-proxy.yaml

hack/examples/overlays/clusters/nutanix/cilium/helm-addon/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ patches:
1414
- target:
1515
kind: Cluster
1616
path: ../../../../../patches/cilium.yaml
17+
- target:
18+
kind: Cluster
19+
path: ../../../../../patches/skip-kube-proxy.yaml
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2024 Nutanix. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
apiVersion: cluster.x-k8s.io/v1beta1
5+
kind: Cluster
6+
metadata:
7+
name: not-used
8+
spec:
9+
topology:
10+
controlPlane:
11+
metadata:
12+
annotations:
13+
controlplane.cluster.x-k8s.io/skip-kube-proxy: ""

0 commit comments

Comments
 (0)