-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rbac: add permissions for SSP operator #210
Conversation
still not sure it is enough to fix #209 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was probably my fault and I don't think it will fix #209 (unless maybe the HCO needs additional permissions to create|get|...|watch the KubevirtMetricsAggregation
resource) but this looks good to me.
Please let's wait a bit to see what's missing to fix issue#209 before to merge this PR |
It seems that the script used in #209 was somehow out of sync, that explains the lack of the |
Wait, do I need to update the templates under |
Due a to a rebase glitch, the RBAC permissions for the SSP-operator to work with Prometheus Rule were not included in kubevirt#199 Signed-off-by: Francesco Romani <fromani@redhat.com>
f11d91b
to
51d041e
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the CSV.
First the permissions: https://github.com/kubevirt/hyperconverged-cluster-operator/blob/master/templates/olm-catalog/kubevirt-hyperconverged/VERSION/kubevirt-hyperconverged-operator.VERSION.clusterserviceversion.yaml.in#L213-L312
Then add the CRD: https://github.com/kubevirt/hyperconverged-cluster-operator/blob/master/templates/olm-catalog/kubevirt-hyperconverged/VERSION/kubevirt-hyperconverged-operator.VERSION.clusterserviceversion.yaml.in#L504-L506
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than #211 (review) LGTM.
Due a to a rebase glitch, the RBAC permissions for the SSP-operator
to work with Prometheus Rule were not included in
#199
Signed-off-by: Francesco Romani fromani@redhat.com