File tree Expand file tree Collapse file tree 4 files changed +995
-4
lines changed Expand file tree Collapse file tree 4 files changed +995
-4
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,10 @@ defaults:
147
147
gofmt -w $(DEFAULTS_TEST_FILE)
148
148
149
149
.PHONY : manifests
150
- manifests : controller-gen # # Generate RBAC objects.
150
+ manifests : controller-gen kustomize # # Generate RBAC objects.
151
151
$(CONTROLLER_GEN ) rbac:roleName=manager-role webhook paths=" ./..."
152
+ $(SED ) -i -E " s|(- )\$ {MCAD_REPO}.*|\1\$ {MCAD_CRD}|" config/crd/mcad/kustomization.yaml
153
+ $(KUSTOMIZE ) build config/crd/mcad > config/crd/mcad.yaml
152
154
153
155
.PHONY : fmt
154
156
fmt : # # Run go fmt against code.
Original file line number Diff line number Diff line change 1
1
# This kustomization.yaml is not intended to be run by itself,
2
2
# since it depends on service name and namespace that are out of this kustomize package.
3
3
# It should be run by config/default
4
- resources :
5
- - mcad
4
+ # resources:
5
+
6
6
# +kubebuilder:scaffold:crdkustomizeresource
You can’t perform that action at this time.
0 commit comments