Skip to content

Commit 2f26889

Browse files
committed
updates kustomization files in templates/test/dev folder
1 parent e985784 commit 2f26889

File tree

2 files changed

+63
-61
lines changed

2 files changed

+63
-61
lines changed
Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
namespace: default
22
resources:
3-
- ../../../test/ci/prow-machine-pool
4-
patchesStrategicMerge:
5-
- ../patches/control-plane-custom-builds.yaml
6-
- patches/machine-pool-deployment-pr-version-windows.yaml
7-
- patches/custom-builds.yaml
3+
- ../../../test/ci/prow-machine-pool
84
patches:
9-
- target:
10-
group: controlplane.cluster.x-k8s.io
11-
version: v1beta1
12-
kind: KubeadmControlPlane
13-
name: .*-control-plane
14-
path: ../../../test/ci/prow-ci-version/patches/oot-credential-provider-kcp.yaml
15-
- target:
16-
group: bootstrap.cluster.x-k8s.io
17-
version: v1beta1
18-
kind: KubeadmConfig
19-
name: .*-mp-win
20-
namespace: default
21-
path: patches/kubeadm-bootstrap-machine-pool-windows-k8s-pr-binaries.yaml
5+
- path: ../../../test/ci/prow-ci-version/patches/oot-credential-provider-kcp.yaml
6+
target:
7+
group: controlplane.cluster.x-k8s.io
8+
kind: KubeadmControlPlane
9+
name: .*-control-plane
10+
version: v1beta1
11+
- path: patches/kubeadm-bootstrap-machine-pool-windows-k8s-pr-binaries.yaml
12+
target:
13+
group: bootstrap.cluster.x-k8s.io
14+
kind: KubeadmConfig
15+
name: .*-mp-win
16+
namespace: default
17+
version: v1beta1
18+
- path: ../patches/control-plane-custom-builds.yaml
19+
- path: patches/machine-pool-deployment-pr-version-windows.yaml
20+
- path: patches/custom-builds.yaml
2221
configMapGenerator:
23-
- name: cni-${CLUSTER_NAME}-calico-windows
24-
behavior: merge
25-
files:
26-
- kube-proxy-patch=../../../test/ci/patches/windows-kubeproxy-ci.yaml
22+
- behavior: merge
23+
files:
24+
- kube-proxy-patch=../../../test/ci/patches/windows-kubeproxy-ci.yaml
25+
name: cni-${CLUSTER_NAME}-calico-windows
2726
generatorOptions:
27+
annotations:
28+
note: generated
2829
disableNameSuffixHash: true
2930
labels:
3031
type: generated
31-
annotations:
32-
note: generated
32+
apiVersion: kustomize.config.k8s.io/v1beta1
33+
kind: Kustomization
Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,68 @@
11
namespace: default
22
resources:
3-
- ../../../test/ci/prow
4-
- ../../../addons/metrics-server/metrics-server-resource-set.yaml
5-
patchesStrategicMerge:
6-
- patches/machine-deployment-pr-version.yaml
7-
- patches/machine-deployment-pr-version-windows.yaml
8-
- ../../../test/ci/patches/windows-feature-gates.yaml
9-
- ../../../test/ci/patches/windows-containerd-labels.yaml
10-
- ../../../test/ci/patches/windows-machine-deployment-replicas.yaml
11-
- ../../../test/ci/patches/metrics-server-enabled-cluster.yaml
12-
- ../../../test/ci/patches/controller-manager-featuregates.yaml
3+
- ../../../test/ci/prow
4+
- ../../../addons/metrics-server/metrics-server-resource-set.yaml
135
patches:
14-
- target:
6+
- path: ../../../test/ci/prow-ci-version/patches/oot-credential-provider.yaml
7+
target:
158
group: bootstrap.cluster.x-k8s.io
16-
version: v1beta1
179
kind: KubeadmConfigTemplate
1810
name: .*-md-0
1911
namespace: default
20-
path: ../../../test/ci/prow-ci-version/patches/oot-credential-provider.yaml
21-
- target:
22-
group: bootstrap.cluster.x-k8s.io
2312
version: v1beta1
13+
- path: ../../../test/ci/prow-ci-version/patches/oot-credential-provider-win.yaml
14+
target:
15+
group: bootstrap.cluster.x-k8s.io
2416
kind: KubeadmConfigTemplate
2517
name: .*-md-win
2618
namespace: default
27-
path: ../../../test/ci/prow-ci-version/patches/oot-credential-provider-win.yaml
28-
- target:
29-
group: controlplane.cluster.x-k8s.io
3019
version: v1beta1
20+
- path: ../../../test/ci/prow-ci-version/patches/oot-credential-provider-kcp.yaml
21+
target:
22+
group: controlplane.cluster.x-k8s.io
3123
kind: KubeadmControlPlane
3224
name: .*-control-plane
33-
path: ../../../test/ci/prow-ci-version/patches/oot-credential-provider-kcp.yaml
34-
- target:
35-
group: bootstrap.cluster.x-k8s.io
3625
version: v1beta1
26+
- path: patches/kubeadm-bootstrap.yaml
27+
target:
28+
group: bootstrap.cluster.x-k8s.io
3729
kind: KubeadmConfigTemplate
3830
name: .*-md-0
3931
namespace: default
40-
path: patches/kubeadm-bootstrap.yaml
41-
- target:
42-
group: controlplane.cluster.x-k8s.io
4332
version: v1beta1
33+
- path: patches/kubeadm-controlplane-bootstrap.yaml
34+
target:
35+
group: controlplane.cluster.x-k8s.io
4436
kind: KubeadmControlPlane
4537
name: .*-control-plane
46-
path: patches/kubeadm-controlplane-bootstrap.yaml
47-
- target:
48-
group: bootstrap.cluster.x-k8s.io
4938
version: v1beta1
39+
- path: patches/kubeadm-bootstrap-windows-k8s-pr-binaries.yaml
40+
target:
41+
group: bootstrap.cluster.x-k8s.io
5042
kind: KubeadmConfigTemplate
5143
name: .*-md-win
5244
namespace: default
53-
path: patches/kubeadm-bootstrap-windows-k8s-pr-binaries.yaml
45+
version: v1beta1
46+
- path: patches/machine-deployment-pr-version.yaml
47+
- path: patches/machine-deployment-pr-version-windows.yaml
48+
- path: ../../../test/ci/patches/windows-feature-gates.yaml
49+
- path: ../../../test/ci/patches/windows-containerd-labels.yaml
50+
- path: ../../../test/ci/patches/windows-machine-deployment-replicas.yaml
51+
- path: ../../../test/ci/patches/metrics-server-enabled-cluster.yaml
52+
- path: ../../../test/ci/patches/controller-manager-featuregates.yaml
5453
configMapGenerator:
55-
- name: cni-${CLUSTER_NAME}-calico-windows
56-
behavior: merge
57-
files:
58-
- kube-proxy-patch=../../../test/ci/patches/windows-kubeproxy-ci.yaml
59-
- name: metrics-server-${CLUSTER_NAME}
60-
files:
61-
- metrics-server=../../../addons/metrics-server/metrics-server.yaml
54+
- behavior: merge
55+
files:
56+
- kube-proxy-patch=../../../test/ci/patches/windows-kubeproxy-ci.yaml
57+
name: cni-${CLUSTER_NAME}-calico-windows
58+
- files:
59+
- metrics-server=../../../addons/metrics-server/metrics-server.yaml
60+
name: metrics-server-${CLUSTER_NAME}
6261
generatorOptions:
62+
annotations:
63+
note: generated
6364
disableNameSuffixHash: true
6465
labels:
6566
type: generated
66-
annotations:
67-
note: generated
67+
apiVersion: kustomize.config.k8s.io/v1beta1
68+
kind: Kustomization

0 commit comments

Comments
 (0)