Skip to content

Commit

Permalink
Update the project for kubebuilder go/v4 layout (#93)
Browse files Browse the repository at this point in the history
Change the layout to follow the Standard Go Project Layout, as described
in https://book.kubebuilder.io/migration/v3vsv4.  This allows newer releases
of kubebuilder to be used with this repo

Signed-off-by: Dean Roehrich <[email protected]>
  • Loading branch information
roehrich-hpe authored Oct 31, 2023
1 parent c0b389c commit 3c49e3c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
all: fmt vet nnf-deploy

nnf-deploy: main.go
go build
nnf-deploy: cmd/main.go
go build -o ./nnf-deploy cmd/main.go

.PHONY: fmt
fmt:
go fmt ./main.go
go fmt cmd/main.go
go fmt ./config/*.go

.PHONY: vet
vet:
go vet ./main.go
go vet cmd/main.go

.PHONY: test
test:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion dws
Submodule dws updated 32 files
+1 −0 .gitignore
+4 −3 Dockerfile
+10 −9 Makefile
+1 −1 PROJECT
+0 −1 api/v1alpha1/zz_generated.deepcopy.go
+2 −2 api/v1alpha2/webhook_suite_test.go
+0 −1 api/v1alpha2/zz_generated.deepcopy.go
+0 −0 cmd/main.go
+1 −1 config/craystack/kustomization.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_clientmounts.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_computes.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_directivebreakdowns.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_dwdirectiverules.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_persistentstorageinstances.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_servers.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_storages.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_systemconfigurations.yaml
+1 −1 config/crd/bases/dataworkflowservices.github.io_workflows.yaml
+1 −1 config/csm/kustomization.yaml
+99 −29 config/default/kustomization.yaml
+1 −1 config/default/manager_auth_proxy_patch.yaml
+1 −1 config/dp0/kustomization.yaml
+1 −1 config/kind/kustomization.yaml
+1 −1 config/manager/kustomization.yaml
+1 −1 controllers/workflow_controller.go
+3 −3 github/cluster-api/util/conversion/conversion_test.go
+42 −0 hack/make-kustomization.sh
+1 −1 internal/controller/conversion_test.go
+0 −0 internal/controller/metrics/metrics.go
+5 −4 internal/controller/suite_test.go
+1 −1 internal/controller/workflow_controller_test.go
+0 −1 utils/dwdparse/zz_generated.deepcopy.go
2 changes: 1 addition & 1 deletion nnf-dm
Submodule nnf-dm updated 37 files
+1 −0 .gitignore
+3 −3 Dockerfile
+9 −7 Makefile
+1 −1 PROJECT
+0 −1 api/v1alpha1/zz_generated.deepcopy.go
+1 −1 cmd/main.go
+1 −1 config/crd/bases/dm.cray.hpe.com_datamovementmanagers.yaml
+99 −30 config/default/kustomization.yaml
+1 −1 config/default/manager_auth_proxy_patch.yaml
+1 −1 daemons/compute/server/servers/server_default.go
+5 −10 deploy.sh
+3 −3 go.mod
+6 −6 go.sum
+46 −0 hack/make-kustomization2.sh
+2 −2 internal/controller/datamovement_controller.go
+2 −2 internal/controller/datamovement_controller_test.go
+2 −2 internal/controller/datamovementmanager_controller.go
+2 −2 internal/controller/datamovementmanager_controller_test.go
+0 −0 internal/controller/fakeProgressOutput.sh
+0 −0 internal/controller/metrics/metrics.go
+5 −5 internal/controller/suite_test.go
+0 −1 vendor/github.com/DataWorkflowServices/dws/api/v1alpha2/zz_generated.deepcopy.go
+0 −1 vendor/github.com/DataWorkflowServices/dws/utils/dwdparse/zz_generated.deepcopy.go
+0 −1 vendor/github.com/NearNodeFlash/lustre-fs-operator/api/v1beta1/zz_generated.deepcopy.go
+1 −1 vendor/github.com/NearNodeFlash/lustre-fs-operator/config/crd/bases/lus.cray.hpe.com_lustrefilesystems.yaml
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/api/v1alpha1/nnfstorageprofile_types.go
+2 −2 vendor/github.com/NearNodeFlash/nnf-sos/api/v1alpha1/zz_generated.deepcopy.go
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfaccesses.yaml
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfcontainerprofiles.yaml
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfdatamovements.yaml
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfnodeecdata.yaml
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfnodes.yaml
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfnodestorages.yaml
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfportmanagers.yaml
+2 −2 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfstorageprofiles.yaml
+1 −1 vendor/github.com/NearNodeFlash/nnf-sos/config/crd/bases/nnf.cray.hpe.com_nnfstorages.yaml
+3 −3 vendor/modules.txt
2 changes: 1 addition & 1 deletion nnf-sos
Submodule nnf-sos updated 75 files
+2 −0 .gitignore
+4 −4 Dockerfile
+14 −11 Makefile
+1 −1 PROJECT
+1 −1 api/v1alpha1/nnfstorageprofile_types.go
+1 −1 api/v1alpha1/nnfstorageprofile_webhook_test.go
+2 −2 api/v1alpha1/webhook_suite_test.go
+2 −2 api/v1alpha1/zz_generated.deepcopy.go
+1 −1 cmd/main.go
+1 −1 config/craystack/kustomization.yaml
+1 −1 config/crd/bases/nnf.cray.hpe.com_nnfaccesses.yaml
+1 −1 config/crd/bases/nnf.cray.hpe.com_nnfcontainerprofiles.yaml
+1 −1 config/crd/bases/nnf.cray.hpe.com_nnfdatamovements.yaml
+1 −1 config/crd/bases/nnf.cray.hpe.com_nnfnodeecdata.yaml
+1 −1 config/crd/bases/nnf.cray.hpe.com_nnfnodes.yaml
+1 −1 config/crd/bases/nnf.cray.hpe.com_nnfnodestorages.yaml
+1 −1 config/crd/bases/nnf.cray.hpe.com_nnfportmanagers.yaml
+2 −2 config/crd/bases/nnf.cray.hpe.com_nnfstorageprofiles.yaml
+1 −1 config/crd/bases/nnf.cray.hpe.com_nnfstorages.yaml
+99 −29 config/default/kustomization.yaml
+1 −1 config/default/manager_auth_proxy_patch.yaml
+1 −1 config/dp0/kustomization.yaml
+1 −1 config/kind/kustomization.yaml
+1 −1 config/manager/kustomization.yaml
+1 −1 config/top/kustomization.yaml
+6 −10 deploy.sh
+2 −2 go.mod
+4 −4 go.sum
+42 −0 hack/make-kustomization.sh
+2 −2 internal/controller/capacity_test.go
+2 −2 internal/controller/directivebreakdown_controller.go
+20 −1 internal/controller/directivebreakdown_controller_test.go
+2 −2 internal/controller/dws_servers_controller.go
+1 −1 internal/controller/dws_storage_controller.go
+1 −1 internal/controller/integration_test.go
+0 −0 internal/controller/metrics/metrics.go
+2 −2 internal/controller/nnf_access_controller.go
+1 −1 internal/controller/nnf_access_controller_test.go
+2 −2 internal/controller/nnf_clientmount_controller.go
+2 −2 internal/controller/nnf_node_controller.go
+3 −3 internal/controller/nnf_node_ec_data_controller.go
+2 −2 internal/controller/nnf_node_storage_controller.go
+20 −1 internal/controller/nnf_node_storage_controller_test.go
+2 −2 internal/controller/nnf_persistentstorageinstance_controller.go
+1 −1 internal/controller/nnf_persistentstorageinstance_controller_test.go
+1 −1 internal/controller/nnf_port_manager_controller.go
+1 −1 internal/controller/nnf_port_manager_controller_test.go
+2 −2 internal/controller/nnf_storage_controller.go
+3 −3 internal/controller/nnf_systemconfiguration_controller.go
+1 −1 internal/controller/nnf_systemconfiguration_controller_test.go
+2 −2 internal/controller/nnf_workflow_controller.go
+1 −1 internal/controller/nnf_workflow_controller_container_helpers.go
+1 −1 internal/controller/nnf_workflow_controller_helpers.go
+1 −1 internal/controller/nnf_workflow_controller_test.go
+1 −1 internal/controller/nnfcontainerprofile_helpers.go
+1 −1 internal/controller/nnfcontainerprofile_test.go
+1 −1 internal/controller/nnfstorageprofile_helpers.go
+20 −1 internal/controller/nnfstorageprofile_test.go
+7 −7 internal/controller/suite_test.go
+0 −1 vendor/github.com/DataWorkflowServices/dws/api/v1alpha2/zz_generated.deepcopy.go
+1 −1 vendor/github.com/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_clientmounts.yaml
+1 −1 vendor/github.com/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_computes.yaml
+1 −1 ...ithub.com/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_directivebreakdowns.yaml
+1 −1 ...r/github.com/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_dwdirectiverules.yaml
+1 −1 ...om/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_persistentstorageinstances.yaml
+1 −1 vendor/github.com/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_servers.yaml
+1 −1 vendor/github.com/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_storages.yaml
+1 −1 ...thub.com/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_systemconfigurations.yaml
+1 −1 vendor/github.com/DataWorkflowServices/dws/config/crd/bases/dataworkflowservices.github.io_workflows.yaml
+1 −1 vendor/github.com/DataWorkflowServices/dws/controllers/workflow_controller.go
+0 −0 vendor/github.com/DataWorkflowServices/dws/internal/controller/metrics/metrics.go
+0 −1 vendor/github.com/DataWorkflowServices/dws/utils/dwdparse/zz_generated.deepcopy.go
+0 −1 vendor/github.com/NearNodeFlash/lustre-fs-operator/api/v1beta1/zz_generated.deepcopy.go
+1 −1 vendor/github.com/NearNodeFlash/lustre-fs-operator/config/crd/bases/lus.cray.hpe.com_lustrefilesystems.yaml
+3 −3 vendor/modules.txt

0 comments on commit 3c49e3c

Please sign in to comment.