Skip to content

Commit 8f6fc65

Browse files
authored
🌱 update kustomize to v5.4.2 version (#177)
update kustomize to v5.4.2 version Signed-off-by: kranurag7 <[email protected]>
1 parent 53d7bdf commit 8f6fc65

File tree

7 files changed

+23
-31
lines changed

7 files changed

+23
-31
lines changed

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ $(CONTROLLER_GEN): # Build controller-gen from tools folder.
9494
KUSTOMIZE := $(abspath $(TOOLS_BIN_DIR)/kustomize)
9595
kustomize: $(KUSTOMIZE) ## Build a local copy of kustomize
9696
$(KUSTOMIZE): # Build kustomize from tools folder.
97-
go install sigs.k8s.io/kustomize/kustomize/[email protected]
97+
go install sigs.k8s.io/kustomize/kustomize/[email protected]
9898

9999
TILT := $(abspath $(TOOLS_BIN_DIR)/tilt)
100100
tilt: $(TILT) ## Build a local copy of tilt

‎config/crd/kustomization.yaml

+2-20
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,5 @@ resources:
77
- bases/infrastructure.clusterstack.x-k8s.io_openstacknodeimagereleases.yaml
88
#+kubebuilder:scaffold:crdkustomizeresource
99

10-
patches:
11-
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
12-
# patches here are for enabling the conversion webhook for each CRD
13-
#- path: patches/webhook_in_openstackclusterstackreleases.yaml
14-
#- path: patches/webhook_in_openstackclusterstackreleasetemplates.yaml
15-
#- path: patches/webhook_in_openstacknodeimagereleases.yaml
16-
#+kubebuilder:scaffold:crdkustomizewebhookpatch
17-
18-
# [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix.
19-
# patches here are for enabling the CA injection for each CRD
20-
#- path: patches/cainjection_in_openstackclusterstackreleases.yaml
21-
#- path: patches/cainjection_in_openstackclusterstackreleasetemplates.yaml
22-
#- path: patches/cainjection_in_openstacknodeimagereleases.yaml
23-
#+kubebuilder:scaffold:crdkustomizecainjectionpatch
24-
25-
# [WEBHOOK] To enable webhook, uncomment the following section
26-
# the following config is for teaching kustomize how to do kustomization for CRDs.
27-
28-
#configurations:
29-
#- kustomizeconfig.yaml
10+
apiVersion: kustomize.config.k8s.io/v1beta1
11+
kind: Kustomization

‎config/default/kustomization.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ resources:
55
- ../crd
66
- ../rbac
77
- ../manager
8-
patchesStrategicMerge:
9-
- manager_auth_proxy_patch.yaml
10-
- manager_config_patch.yaml
8+
apiVersion: kustomize.config.k8s.io/v1beta1
9+
kind: Kustomization
10+
patches:
11+
- path: manager_auth_proxy_patch.yaml
12+
- path: manager_config_patch.yaml

‎config/localmode/kustomization.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ resources:
55
- ../crd
66
- ../rbac
77
- ../manager
8-
patchesStrategicMerge:
9-
- manager_auth_proxy_patch.yaml
10-
- manager_config_patch.yaml
8+
apiVersion: kustomize.config.k8s.io/v1beta1
9+
kind: Kustomization
10+
patches:
11+
- path: manager_auth_proxy_patch.yaml
12+
- path: manager_config_patch.yaml

‎config/manager/kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
resources:
22
- manager.yaml
33
- credentials.yaml
4+
apiVersion: kustomize.config.k8s.io/v1beta1
5+
kind: Kustomization
+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
resources:
22
- monitor.yaml
3+
apiVersion: kustomize.config.k8s.io/v1beta1
4+
kind: Kustomization

‎config/rbac/kustomization.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
resources:
21
# All RBAC will be applied under this service account in
32
# the deployment namespace. You may comment out this resource
43
# if your manager will use a service account that exists at
54
# runtime. Be sure to update RoleBinding and ClusterRoleBinding
65
# subjects if changing service account names.
6+
# Comment the following 4 lines if you want to disable
7+
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
8+
# which protects your /metrics endpoint.
9+
resources:
710
- service_account.yaml
811
- role.yaml
912
- role_binding.yaml
1013
- leader_election_role.yaml
1114
- leader_election_role_binding.yaml
12-
# Comment the following 4 lines if you want to disable
13-
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
14-
# which protects your /metrics endpoint.
1515
- auth_proxy_service.yaml
1616
- auth_proxy_role.yaml
1717
- auth_proxy_role_binding.yaml
1818
- auth_proxy_client_clusterrole.yaml
19+
apiVersion: kustomize.config.k8s.io/v1beta1
20+
kind: Kustomization

0 commit comments

Comments
 (0)