*Suggestion:* IMHO it will be easier by using the operator-sdk with, following the steps. 1. Run the command to create a new type with the name APP
$ operator-sdk add api --api-version=mobile-security-service.aerogear.com/v1alpha1 --kind=MobileSecurityServiceApp
2. Run the command to create the controller of this new type. 3. Replace the files and dirs with the implementation of the BIND
- Go in the api/newtype_type and add the specs and status from the BIND and run the command `$ operator-sdk generate k8s`
- Go to the pkg/controller/newtype and add all files in the same hierarchy with the files from the BIND ( copy and past ) - do not forget change the name of the pkg
4. Replace the APP new CR and CRD with the BIND values 5. Remove all BIND files/dirs 6. By the IDE search by BIND and remove the lines ( the operator-sdk generated data in the deep_copy files and others) 7. Now check the Makefile and replace the commands where has bind_* for app_*
It is done. Just test by `make create-all` and the bind/unbind funcs. Now is required to update the readme. c/c Laura Fitzgerald |