Skip to content

Commit e5df09d

Browse files
ldmingapecloud-bot
authored andcommitted
chore: remove external preflight api (#10108)
(cherry picked from commit 4857828)
1 parent 6207301 commit e5df09d

21 files changed

Lines changed: 1 addition & 14573 deletions

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,9 @@ label-crds:
113113
mv bin/crd.yaml $$f; \
114114
done
115115

116-
.PHONY: preflight-manifests
117-
preflight-manifests: generate ## Generate external Preflight API
118-
$(CONTROLLER_GEN) rbac:roleName=manager-role crd:generateEmbeddedObjectMeta=true webhook paths="./externalapis/preflight/..." output:crd:artifacts:config=config/crd/preflight
119-
120116
.PHONY: generate
121117
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
122-
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./apis/...;./externalapis/..."
118+
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./apis/..."
123119

124120
.PHONY: client-sdk-gen
125121
client-sdk-gen: module ## Generate CRD client code.

PROJECT

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,6 @@ resources:
110110
kind: Addon
111111
path: github.com/apecloud/kubeblocks/apis/extensions/v1alpha1
112112
version: v1alpha1
113-
- api:
114-
crdVersion: v1
115-
namespaced: true
116-
domain: troubleshoot.sh
117-
kind: HostPreflight
118-
path: github.com/apecloud/kubeblocks/externalapis/preflight/v1beta2
119-
version: v1beta2
120-
- api:
121-
crdVersion: v1
122-
namespaced: true
123-
domain: troubleshoot.sh
124-
kind: Preflight
125-
path: github.com/apecloud/kubeblocks/externalapis/preflight/v1beta2
126-
version: v1beta2
127113
- api:
128114
crdVersion: v1
129115
namespaced: true

config/crd/kustomization.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ patchesStrategicMerge:
4646
#- patches/webhook_in_opsrequests.yaml
4747
#- patches/webhook_in_reconfigurerequests.yaml
4848
#- patches/webhook_in_configconstraints.yaml
49-
#- patches/webhook_in_hostpreflights.yaml
50-
#- patches/webhook_in_preflights.yaml
5149
#- patches/webhook_in_addons.yaml
5250
#- patches/webhook_in_instancesets.yaml
5351
#- patches/webhook_in_storageproviders.yaml
@@ -82,8 +80,6 @@ patchesStrategicMerge:
8280
#- patches/cainjection_in_opsrequests.yaml
8381
#- patches/cainjection_in_reconfigurerequests.yaml
8482
#- patches/cainjection_in_configconstraints.yaml
85-
#- patches/cainjection_in_hostpreflights.yaml
86-
#- patches/cainjection_in_preflights.yaml
8783
#- patches/cainjection_in_addonspecs.yaml
8884
#- patches/cainjection_in_instancesets.yaml
8985
#- patches/cainjection_in_storageproviders.yaml

config/crd/patches/cainjection_in_preflight_hostpreflights.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

config/crd/patches/cainjection_in_preflight_preflights.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

config/crd/patches/webhook_in_preflight_hostpreflights.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

config/crd/patches/webhook_in_preflight_preflights.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)