cli icon indicating copy to clipboard operation
cli copied to clipboard

init module: optional kubebuilder template

Open clebs opened this issue 3 years ago • 1 comments

Description

Optionally, instead of generating an empty folder structure when calling kyma alpha init module users should be able to indicate if they want to scaffold a kubebuilder module as well.

If the --kubebuilder flag is provided, the following needs to be done:

  • A new operator needs to be created from a template inside the operators folder
  • A Makefile needs to be created on the root of the module that provides targets to build and template the operator properly as well as download the necessary tools (e.g. kustmoize).
  • Clear documentation on the operator template, the Makefile and the README file on how the kubebuilder setup works.

Reasons

Attachments

clebs avatar Aug 09 '22 09:08 clebs

Can we change the flag to kubebuilder? After all we are opinionated on the operator, not the templating engine here right?

jakobmoellerdev avatar Aug 09 '22 09:08 jakobmoellerdev

This issue has been automatically marked as stale due to the lack of recent activity. It will soon be closed if no further activity occurs. Thank you for your contributions.

kyma-stale-bot[bot] avatar Oct 10 '22 08:10 kyma-stale-bot[bot]

This issue is no longer relevant, the init module command will be removed in https://github.com/kyma-project/lifecycle-manager/issues/226

clebs avatar Oct 10 '22 10:10 clebs