Skip to content

Commit 16b457d

Browse files
committed
resolve comments
1 parent 86e4cb8 commit 16b457d

File tree

7 files changed

+14
-19
lines changed

7 files changed

+14
-19
lines changed

config/capz/kustomization.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
13
namespace: capz-system
2-
34
namePrefix: capz-
45

56
# Labels to add to all resources and selectors.
@@ -28,8 +29,6 @@ patches:
2829
configurations:
2930
- kustomizeconfig.yaml
3031

31-
32-
3332
replacements:
3433
- source:
3534
fieldPath: metadata.namespace
@@ -121,5 +120,3 @@ replacements:
121120
select:
122121
name: controller-manager
123122
namespace: system
124-
apiVersion: kustomize.config.k8s.io/v1beta1
125-
kind: Kustomization
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
13
resources:
24
- certificate.yaml
35
configurations:
46
- kustomizeconfig.yaml
5-
apiVersion: kustomize.config.k8s.io/v1beta1
6-
kind: Kustomization

config/crd/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# This kustomization.yaml is not intended to be run by itself,
22
# since it depends on service name and namespace that are out of this kustomize package.
33
# It should be run by config/
4+
apiVersion: kustomize.config.k8s.io/v1beta1
5+
kind: Kustomization
46

57
resources:
68
- bases/infrastructure.cluster.x-k8s.io_azuremachines.yaml
@@ -77,5 +79,3 @@ patches:
7779
# the following config is for teaching kustomize how to do kustomization for CRDs.
7880
configurations:
7981
- kustomizeconfig.yaml
80-
apiVersion: kustomize.config.k8s.io/v1beta1
81-
kind: Kustomization

config/default/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
13
resources:
24
- ../capz
35

@@ -21,5 +23,3 @@ replacements:
2123
select:
2224
kind: Secret
2325
name: aso-controller-settings
24-
apiVersion: kustomize.config.k8s.io/v1beta1
25-
kind: Kustomization

config/webhook/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
13
resources:
24
- manifests.yaml
35
- service.yaml
46

57
configurations:
68
- kustomizeconfig.yaml
7-
apiVersion: kustomize.config.k8s.io/v1beta1
8-
kind: Kustomization

templates/test/dev/custom-builds-machine-pool/kustomization.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
13
namespace: default
24
resources:
35
- ../../../test/ci/prow-machine-pool
@@ -29,8 +31,5 @@ generatorOptions:
2931
disableNameSuffixHash: true
3032
labels:
3133
type: generated
32-
apiVersion: kustomize.config.k8s.io/v1beta1
33-
kind: Kustomization
34-
3534
sortOptions:
3635
order: legacy

templates/test/dev/custom-builds/kustomization.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
13
namespace: default
24
resources:
35
- ../../../test/ci/prow
@@ -64,8 +66,5 @@ generatorOptions:
6466
disableNameSuffixHash: true
6567
labels:
6668
type: generated
67-
apiVersion: kustomize.config.k8s.io/v1beta1
68-
kind: Kustomization
69-
7069
sortOptions:
7170
order: legacy

0 commit comments

Comments
 (0)