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 74c1f49f995782766be3098922af5c15d6709303
Author: nferraro <ni.ferr...@gmail.com>
AuthorDate: Mon Nov 5 15:06:59 2018 +0100

    Fix roles for ingress
---
 deploy/operator-role-kubernetes.yaml | 13 +++++++++++++
 deploy/resources.go                  | 13 +++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/deploy/operator-role-kubernetes.yaml 
b/deploy/operator-role-kubernetes.yaml
index d3865a8..c0c08cb 100644
--- a/deploy/operator-role-kubernetes.yaml
+++ b/deploy/operator-role-kubernetes.yaml
@@ -61,3 +61,16 @@ rules:
   - get
   - list
   - watch
+- apiGroups:
+  - extensions
+  resources:
+  - ingresses
+  verbs:
+  - create
+  - delete
+  - deletecollection
+  - get
+  - list
+  - patch
+  - update
+  - watch
diff --git a/deploy/resources.go b/deploy/resources.go
index f370a58..4fcbce0 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -2373,6 +2373,19 @@ rules:
   - get
   - list
   - watch
+- apiGroups:
+  - extensions
+  resources:
+  - ingresses
+  verbs:
+  - create
+  - delete
+  - deletecollection
+  - get
+  - list
+  - patch
+  - update
+  - watch
 
 `
        Resources["operator-role-openshift.yaml"] =

Reply via email to