Skip to content

Upgrade Kubebuilder Version to v3#512

Merged
nigthknight merged 18 commits intomainfrom
feature/kubebuilder-upgrade
Jun 25, 2021
Merged

Upgrade Kubebuilder Version to v3#512
nigthknight merged 18 commits intomainfrom
feature/kubebuilder-upgrade

Conversation

@J12934
Copy link
Member

@J12934 J12934 commented Jun 21, 2021

This PR upgrades the kubebuilder version used by the secureCodeBox Operator to v3.
This also includes the migration of the CRD's from apiextensions.k8s.io/v1beta1 to apiextensions.k8s.io/v1

Upgrade notes

  • The CRD's are now using apiextensions.k8s.io/v1 which requries at least Kubernetes Version 1.16 or higher.
  • The Operator now uses the new kubebuilder v3 command line flag for enabling leader election and setting the metrics port. If you are using the official secureCodeBox Helm Charts for your Deployment this has been updated automatically. If you are using a custom deployment you have to change the --enable-leader-election flag to --leader-elect and --metrics-addr to --metrics-bind-address. For more context see: https://book.kubebuilder.io/migration/v2vsv3.html#tldr-of-the-new-gov3-plugin

@J12934 J12934 added maintenance architecture Architecture changes breaking Changes requiring a major release labels Jun 21, 2021
@J12934 J12934 self-assigned this Jun 21, 2021
@nigthknight nigthknight self-requested a review June 21, 2021 11:03
J12934 added 2 commits June 23, 2021 08:47
Signed-off-by: Jannik Hollenbach <[email protected]>
Signed-off-by: Jannik Hollenbach <[email protected]>
@J12934 J12934 requested a review from nigthknight June 23, 2021 06:56
@nigthknight nigthknight merged commit ab3eb0c into main Jun 25, 2021
@nigthknight nigthknight deleted the feature/kubebuilder-upgrade branch June 25, 2021 08:53
@J12934
Copy link
Member Author

J12934 commented Jun 25, 2021

🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture Architecture changes breaking Changes requiring a major release maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants