Skip to content

Conversation

@ansd
Copy link
Member

@ansd ansd commented Jul 1, 2021

Closes #747
Pair: @ChunyiLyu

ansd and others added 2 commits July 1, 2021 16:32
Use
https://github.com/kubernetes-sigs/controller-runtime/tree/master/tools/setup-envtest
since we want self-contained test dependencies for our integration tests.

Migrate PROJECT file to kubebuilder v3

see https://kubebuilder.io/migration/manually_migration_guide_v2_v3.html

Delete webhook files

We don't use a webhook in the cluster-operator at the moment.
Therefore delete the files.
If we need a webhook in the future, we can easily re-create the files
using 'kubebuilder create webhook' command.

Rename flag metrics-addr to metrics-bind-address

as described in
https://kubebuilder.io/migration/manually_migration_guide_v2_v3.html#rename-the-manager-flags
and
kubernetes-sigs/kubebuilder#1839

Co-authored-by: Chunyi Lyu <clyu@pivotal.io>
@ansd ansd merged commit f843d7f into main Jul 2, 2021
@ansd ansd deleted the kubebuilder-v3 branch July 2, 2021 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate Kubebuilder from v2 to v3

3 participants