kubernetes-sigs / cluster-api

Home for Cluster API, a subproject of sig-cluster-lifecycle
https://cluster-api.sigs.k8s.io
Apache License 2.0
3.5k stars 1.3k forks source link

Generate initial scaffolding for the operator #4118

Closed wfernandes closed 3 years ago

wfernandes commented 3 years ago

User Story

As a CAPI developer, I would like to create a space for building the operator.

Detailed Description

This PR adds the initial bare bones scaffolding for the CAPI operator.

kubebuilder init --domain operator.cluster.x-k8s.io
# Created Resource and Controller
kubebuilder create api --group operator --version v1alpha4 --kind CoreProvider
# Created Resources and no Controllers for each of the following 
# since we are going to have a single controller reconciler for all the resources.
kubebuilder create api --group operator --version v1alpha4 --kind BootstrapProvider
kubebuilder create api --group operator --version v1alpha4 --kind ControlPlaneProvider
kubebuilder create api --group operator --version v1alpha4 --kind InfrastructureProvider

Anything else you would like to add:

/kind feature /area operator /area api

k8s-ci-robot commented 3 years ago

@wfernandes: The label(s) area/operator cannot be applied, because the repository doesn't have them

In response to [this](https://github.com/kubernetes-sigs/cluster-api/issues/4118): > > >**User Story** > >As a CAPI developer, I would like to create a space for building the operator. > >**Detailed Description** > >This PR adds the initial bare bones scaffolding for the CAPI operator. >```bash >kubebuilder init --domain operator.cluster.x-k8s.io ># Created Resource and Controller >kubebuilder create api --group operator --version v1alpha4 --kind CoreProvider ># Created Resources and no Controllers for each of the following ># since we are going to have a single controller reconciler for all the resources. >kubebuilder create api --group operator --version v1alpha4 --kind BootstrapProvider >kubebuilder create api --group operator --version v1alpha4 --kind ControlPlaneProvider >kubebuilder create api --group operator --version v1alpha4 --kind InfrastructureProvider >``` >**Anything else you would like to add:** > >- The API will be incrementally added in. >- `make` commands coming in a separate PR. >- `Dockerfile` updates in a separate PR. > > >/kind feature >/area operator >/area api > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
wfernandes commented 3 years ago

/milestone v0.4.0

k8s-ci-robot commented 3 years ago

@wfernandes: You must be a member of the kubernetes-sigs/cluster-api-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Cluster API Maintainers and have them propose you as an additional delegate for this responsibility.

In response to [this](https://github.com/kubernetes-sigs/cluster-api/issues/4118#issuecomment-767028728): >/milestone v0.4.0 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
wfernandes commented 3 years ago

/assign /lifecycle active

fabriziopandini commented 3 years ago

/milestone v0.4.0

alexander-demicev commented 3 years ago

/close Fixed by https://github.com/kubernetes-sigs/cluster-api/pull/4117

k8s-ci-robot commented 3 years ago

@alexander-demichev: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/cluster-api/issues/4118#issuecomment-799273522): >/close >Fixed by https://github.com/kubernetes-sigs/cluster-api/pull/4117 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.