File tree Expand file tree Collapse file tree 7 files changed +23
-31
lines changed Expand file tree Collapse file tree 7 files changed +23
-31
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ $(CONTROLLER_GEN): # Build controller-gen from tools folder.
9494KUSTOMIZE := $(abspath $(TOOLS_BIN_DIR ) /kustomize)
9595kustomize : $(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
9999TILT := $(abspath $(TOOLS_BIN_DIR ) /tilt)
100100tilt : $(TILT ) # # Build a local copy of tilt
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11resources :
22- manager.yaml
33- credentials.yaml
4+ apiVersion : kustomize.config.k8s.io/v1beta1
5+ kind : Kustomization
Original file line number Diff line number Diff line change 11resources :
22- monitor.yaml
3+ apiVersion : kustomize.config.k8s.io/v1beta1
4+ kind : Kustomization
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments