Skip to content

Commit 95bacc3

Browse files
chore: use API types from openmcp-operator
1 parent 04516de commit 95bacc3

File tree

10 files changed

+47
-415
lines changed

10 files changed

+47
-415
lines changed

Taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 3
33
vars:
44
NESTED_MODULES: api
55
API_DIRS: '{{.ROOT_DIR}}/api/v1alpha1/...'
6-
MANIFEST_OUT: '{{.ROOT_DIR}}/cmd/cluster-provider-kind/embedded/crds'
6+
MANIFEST_OUT: '{{.ROOT_DIR}}/config/crd/bases'
77
CODE_DIRS: '{{.ROOT_DIR}}/cmd/... {{.ROOT_DIR}}/internal/... {{.ROOT_DIR}}/api/v1alpha1/...'
88
COMPONENTS: 'cluster-provider-kind'
99
REPO_NAME: 'https://github.com/openmcp-project/cluster-provider-kind'

api/v1alpha1/cluster_types.go

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

api/v1alpha1/zz_generated.deepcopy.go

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

cmd/cluster-provider-kind/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ var (
5656
setupLog = ctrl.Log.WithName("setup")
5757

5858
//go:embed embedded/crds
59-
crdFiles embed.FS
59+
_ embed.FS
6060

61-
crdFlags = crds.BindFlags(flag.CommandLine)
62-
webhooksFlags = webhooks.BindFlags(flag.CommandLine)
61+
_ = crds.BindFlags(flag.CommandLine)
62+
_ = webhooks.BindFlags(flag.CommandLine)
6363
)
6464

6565
func init() {
@@ -71,8 +71,8 @@ func init() {
7171
// +kubebuilder:scaffold:scheme
7272
}
7373

74-
func runInit(setupClient client.Client) {
75-
//_ = context.Background()
74+
func runInit(_ client.Client) {
75+
// _ = context.Background()
7676

7777
// if webhooksFlags.Install {
7878
// // Generate webhook certificate

0 commit comments

Comments
 (0)