Draft: Deploy operator with OLM
Part of https://gitlab.cern.ch/webservices/webframeworks-planning/-/issues/445
Changes:
- Upgrade operator-sdk to v1.9.0 (Docs: https://docs.okd.io/latest/operators/operator_sdk/osdk-upgrading-projects.html, https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.9.0/).
- Use
ComponentConfig
instead of cli args following https://book.kubebuilder.io/component-config-tutorial/tutorial.html. - Remove helm charts.
- Add
config/qos-critical
,config/qos-eco
,config/qos-standard
,config/sitebuilder
for runtime configmaps. - Add
default/manager_resources_patch.yaml
anddefault/manager_runtime_config_patch.yaml
to set resources and runtime config in manager deployment. - Update
rbac
of controller manager. - Update gitlab ci.