provider-milvus is a minimal Crossplane Provider
that is meant to be used as a template for implementing new Providers. It comes
with the following features that are meant to be refactored:
- A
ProviderConfigtype that only points to a credentialsSecret. - A
Milvusresource type that serves as an example managed resource. - A managed resource controller that reconciles
Milvusobjects and simply prints their configuration in itsObservemethod.
- Use this repository as a template to create a new one.
- Find-and-replace
provider-milvuswith your provider's name. - Run
maketo initialize the "build" Make submodule we use for CI/CD. - Run
make reviewableto run code generation, linters, and tests. - Replace
Milvuswith your own managed resource implementation(s).
Refer to Crossplane's CONTRIBUTING.md file for more information on how the Crossplane community prefers to work. The Provider Development guide may also be of use.
update version in common.mk, examples/provider/provider.yaml
build & push & update
make generate-all
make
make push
kubectl apply -f ./examples/provider/provider.yaml