The Cluster CAPI Operator manages the installation of the CAPI Operator and the provider resources that it requires.
- ClusterOperator Controller
When the featuregate is DevPreviewNoUpgrade
- Install the CAPI Operator
- Install all the supported provider configmaps
- Install the CoreProvider and InfractureProvider CRs (with image overrides)
-
Import capi-operator and provider manifests:
$ make import-assets
This command does 2 main things:
- get capi-operator configuration and moves the rbac resources to /manifests/ whilst placing the remainder in /assets/capi-operator/ It also replaces the default rbac with a smaller subset.
- use clusterctl to get the provider resources a. convert from cert-manager to service-ca b. place provider rbac resources in /manifests c. place all other resources in /assets/providers as configmaps (to be consumed by capi-operator)
To update the version of a provider, edit hack/import-assets/provider-versions.json and bump the versions as required.