This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 490dd401d4e48f15b06388860c0dc1dc7a6a3fa3 Author: nferraro <[email protected]> AuthorDate: Fri Oct 5 10:46:12 2018 +0200 Add role-binding for changing OpenShift routes --- deploy/operator-role-openshift.yaml | 14 ++++++++++++++ deploy/resources.go | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/deploy/operator-role-openshift.yaml b/deploy/operator-role-openshift.yaml index 1cd659b..788a7cc 100644 --- a/deploy/operator-role-openshift.yaml +++ b/deploy/operator-role-openshift.yaml @@ -105,3 +105,17 @@ rules: - builds/clone verbs: - create +- apiGroups: + - "" + - "route.openshift.io" + resources: + - routes + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch diff --git a/deploy/resources.go b/deploy/resources.go index b30cd40..c3ec245 100644 --- a/deploy/resources.go +++ b/deploy/resources.go @@ -2484,6 +2484,20 @@ rules: - builds/clone verbs: - create +- apiGroups: + - "" + - "route.openshift.io" + resources: + - routes + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch ` Resources["operator-service-account.yaml"] =
