You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2018/11/05 19:46:32 UTC

[camel-k] 03/06: Fix roles for ingress

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...@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"] =