Skip to content

Deploy Image plugin when used in other tools has been tracked with Kubebuilder domain #3576

Open
@camilamacedo86

Description

@camilamacedo86

What broke? What's expected?

See: https://github.com/operator-framework/operator-sdk/blob/master/testdata/go/v4-alpha/monitoring/memcached-operator/PROJECT#L5-L21

By extending the plugin in another tool, i.e.:

deployImageBundle, _ := plugin.NewBundleWithOptions(
		plugin.WithName("deploy-image."+"my-domain"),
		plugin.WithVersion(plugin.Version{Number: 1, Stage: stage.Alpha}),
		plugin.WithPlugins(
			deployimagev1alpha.Plugin{},
		),
	)

I would expected the PROJECT file tracked it as my own plugin domain informed. Instead it is not using the name informed and still tracking it as deploy-image.go.kubebuilder.io/v1-alpha

Reproducing this issue

No response

KubeBuilder (CLI) Version

master

PROJECT version

No response

Plugin versions

No response

Other versions

No response

Extra Labels

No response

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions