turbonomic / t8c-install

23 stars 35 forks source link

operator install on OCP failed #16

Closed gyliu513 closed 3 years ago

gyliu513 commented 3 years ago

Steps

@esara comments? I have to apply https://github.com/turbonomic/t8c-install/blob/master/operator/deploy/cluster_role.yaml and https://github.com/turbonomic/t8c-install/blob/master/operator/deploy/cluster_role_binding.yaml to make this works.

esara commented 3 years ago

@gyliu513 hi, I am guessing you are trying to install kubeturbo using the t8c-operator. While this is possible with the workaround you mentioned, this is not intended. Please use the kubeturbo-operator to deploy kubeturbo https://catalog.redhat.com/software/operators/detail/5e9872763f398525a0ceafb2 which automatically deploys the necessarily roles for kubeturbo - while the t8c-platform runs with minimum permissions that are only needed to run the platform (does not require a clusterrole).

gyliu513 commented 3 years ago

@esara thanks for the promptly response on your weekend (it is China's adjusted workday today), it works for me after disable the kubeturbo.

But still have a question, if kubeturbo does not work, I think we need to remove the kubeturbo option from the CRD and do not let customer enable it when installing turbo server, comments?

esara commented 3 years ago

@gyliu513 i'll explain offline the history of why the option is there - there are customers using it today with exactly the workaround you have mentioned.