h4. What - Check if is required to create no-privileged roles and for what. - Update doc - Check the possibility to create a make command to make it easier - shows that it is required just for the BIND
h4. Why - The item in the doc "== Creating Role for no-privilege users are able to create the application and database in their namespaces" need to be re-checked, changed and/or removed. - Also if it not be required the role.yaml and role_binding.yaml should be removed from the project. - Also, it shows do not be longer a required, however, if it still working we can keep it. (Who knows the future?)
**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
{code:java} $ operator-sdk add api --api-version=mobile-security-service.aerogear.com/v1alpha1 --kind=MobileSecurityServiceApp {code}
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. |
|