File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,10 @@ manifests: controller-gen kustomize ## Generate RBAC objects.
153
153
$(KUSTOMIZE ) build config/crd/mcad > config/crd/mcad.yaml
154
154
git restore config/*
155
155
156
+ .PHONY : verify-manifests
157
+ verify-manifests : manifests
158
+ ./hack/verify-manifests.sh
159
+
156
160
.PHONY : fmt
157
161
fmt : # # Run go fmt against code.
158
162
go fmt ./...
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ manifest_file=config/crd/mcad.yaml
4
+ appwrappers=appwrappers.workload.codeflare.dev
5
+ quotasubtrees=quotasubtrees.quota.codeflare.dev
6
+ schedulingspecs=schedulingspecs.workload.codeflare.dev
7
+
8
+ echo $manifest_file
9
+ if grep $appwrappers $manifest_file \
10
+ && grep $quotasubtrees $manifest_file \
11
+ && grep $schedulingspecs $manifest_file ; then
12
+ echo all required CRDs are present
13
+ else
14
+ echo CRDs not found
15
+ fi
You can’t perform that action at this time.
0 commit comments