You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by kv...@apache.org on 2021/02/04 13:11:06 UTC

[apisix-ingress-controller] branch master updated: fix: secrets permissions missing (#237)

This is an automated email from the ASF dual-hosted git repository.

kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 1353cd4  fix: secrets permissions missing (#237)
1353cd4 is described below

commit 1353cd412fb10b89f505b6969a3e57b963de6605
Author: Alex Zhang <zc...@gmail.com>
AuthorDate: Thu Feb 4 21:10:56 2021 +0800

    fix: secrets permissions missing (#237)
    
    * fix: add permissions for Secrets
    
    * fix
---
 charts/apisix-ingress-controller/templates/rbac.yaml | 1 +
 samples/deploy/rbac/apisix_view_clusterrole.yaml     | 1 +
 test/e2e/scaffold/ingress.go                         | 1 +
 3 files changed, 3 insertions(+)

diff --git a/charts/apisix-ingress-controller/templates/rbac.yaml b/charts/apisix-ingress-controller/templates/rbac.yaml
index b81eec0..f36cd0b 100644
--- a/charts/apisix-ingress-controller/templates/rbac.yaml
+++ b/charts/apisix-ingress-controller/templates/rbac.yaml
@@ -31,6 +31,7 @@ rules:
       - replicationcontrollers/scale
       - serviceaccounts
       - services
+      - secrets
     verbs:
       - get
       - list
diff --git a/samples/deploy/rbac/apisix_view_clusterrole.yaml b/samples/deploy/rbac/apisix_view_clusterrole.yaml
index edb232c..35a65cd 100644
--- a/samples/deploy/rbac/apisix_view_clusterrole.yaml
+++ b/samples/deploy/rbac/apisix_view_clusterrole.yaml
@@ -31,6 +31,7 @@ rules:
   - replicationcontrollers/scale
   - serviceaccounts
   - services
+  - secrets
   verbs:
   - get
   - list
diff --git a/test/e2e/scaffold/ingress.go b/test/e2e/scaffold/ingress.go
index abaa7af..eb7cc91 100644
--- a/test/e2e/scaffold/ingress.go
+++ b/test/e2e/scaffold/ingress.go
@@ -47,6 +47,7 @@ rules:
       - replicationcontrollers/scale
       - serviceaccounts
       - services
+      - secrets
     verbs:
       - get
       - list