Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,9 @@ label-crds:
mv bin/crd.yaml $$f; \
done

.PHONY: preflight-manifests
preflight-manifests: generate ## Generate external Preflight API
$(CONTROLLER_GEN) rbac:roleName=manager-role crd:generateEmbeddedObjectMeta=true webhook paths="./externalapis/preflight/..." output:crd:artifacts:config=config/crd/preflight

.PHONY: generate
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./apis/...;./externalapis/..."
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./apis/..."

.PHONY: client-sdk-gen
client-sdk-gen: module ## Generate CRD client code.
Expand Down
14 changes: 0 additions & 14 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,6 @@ resources:
kind: Addon
path: github.com/apecloud/kubeblocks/apis/extensions/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: troubleshoot.sh
kind: HostPreflight
path: github.com/apecloud/kubeblocks/externalapis/preflight/v1beta2
version: v1beta2
- api:
crdVersion: v1
namespaced: true
domain: troubleshoot.sh
kind: Preflight
path: github.com/apecloud/kubeblocks/externalapis/preflight/v1beta2
version: v1beta2
- api:
crdVersion: v1
namespaced: true
Expand Down
4 changes: 0 additions & 4 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ patchesStrategicMerge:
#- patches/webhook_in_opsrequests.yaml
#- patches/webhook_in_reconfigurerequests.yaml
#- patches/webhook_in_configconstraints.yaml
#- patches/webhook_in_hostpreflights.yaml
#- patches/webhook_in_preflights.yaml
#- patches/webhook_in_addons.yaml
#- patches/webhook_in_instancesets.yaml
#- patches/webhook_in_storageproviders.yaml
Expand Down Expand Up @@ -82,8 +80,6 @@ patchesStrategicMerge:
#- patches/cainjection_in_opsrequests.yaml
#- patches/cainjection_in_reconfigurerequests.yaml
#- patches/cainjection_in_configconstraints.yaml
#- patches/cainjection_in_hostpreflights.yaml
#- patches/cainjection_in_preflights.yaml
#- patches/cainjection_in_addonspecs.yaml
#- patches/cainjection_in_instancesets.yaml
#- patches/cainjection_in_storageproviders.yaml
Expand Down

This file was deleted.

7 changes: 0 additions & 7 deletions config/crd/patches/cainjection_in_preflight_preflights.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions config/crd/patches/webhook_in_preflight_hostpreflights.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions config/crd/patches/webhook_in_preflight_preflights.yaml

This file was deleted.

Loading
Loading