Some of the code was half generated half edited by hand.
We had a config file with all RBAC rules which was not used in the CSV.
Summary of changes:
Split the CSV to separate config files so we don't need to edit one
large CSV. The config files contain the Kubernetes objects which are
passed by the kustomize to operator SDK and then the bundle is created
from it.
The config files also contain some env variables which are
replaced by envsubst before passing to operator SDK. These env vars
can be used for example to set the different namespaces to the operator.
Remove the bundle which should be used when doing the build. Now can be
easily build with make bundle.
Removal of custom build tools and replacement with a makefile.
Add operator-sdk download to makefile.
Some of the ansible templates were using old control-plane
controller-manager which was renamed to forklift-operator.
Issues:
Summary of changes:
make bundle
.