You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2021/05/28 07:17:01 UTC
[apisix-ingress-controller] branch master updated: feat: add
permission to events, fix missing subresources in crd. (#514)
This is an automated email from the ASF dual-hosted git repository.
tokers 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 2f2e6f8 feat: add permission to events, fix missing subresources in crd. (#514)
2f2e6f8 is described below
commit 2f2e6f861ca0a27d84ad84763cc0a070e9b6c91d
Author: Sarasa Kisaragi <li...@gmail.com>
AuthorDate: Fri May 28 15:16:50 2021 +0800
feat: add permission to events, fix missing subresources in crd. (#514)
Signed-off-by: Ling Samuel <li...@gmail.com>
---
samples/deploy/crd/v1beta1/ApisixTls.yaml | 2 ++
samples/deploy/crd/v1beta1/ApisixUpstream.yaml | 2 ++
samples/deploy/rbac/apisix_view_clusterrole.yaml | 7 ++++++-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/samples/deploy/crd/v1beta1/ApisixTls.yaml b/samples/deploy/crd/v1beta1/ApisixTls.yaml
index 45dc774..b60eea7 100644
--- a/samples/deploy/crd/v1beta1/ApisixTls.yaml
+++ b/samples/deploy/crd/v1beta1/ApisixTls.yaml
@@ -46,6 +46,8 @@ spec:
shortNames:
- atls
preserveUnknownFields: false
+ subresources:
+ status: {}
validation:
openAPIV3Schema:
type: object
diff --git a/samples/deploy/crd/v1beta1/ApisixUpstream.yaml b/samples/deploy/crd/v1beta1/ApisixUpstream.yaml
index 4275102..6e38254 100644
--- a/samples/deploy/crd/v1beta1/ApisixUpstream.yaml
+++ b/samples/deploy/crd/v1beta1/ApisixUpstream.yaml
@@ -33,6 +33,8 @@ spec:
shortNames:
- au
preserveUnknownFields: false
+ subresources:
+ status: {}
validation:
openAPIV3Schema:
type: object
diff --git a/samples/deploy/rbac/apisix_view_clusterrole.yaml b/samples/deploy/rbac/apisix_view_clusterrole.yaml
index 1bdfcd7..5e99d01 100644
--- a/samples/deploy/rbac/apisix_view_clusterrole.yaml
+++ b/samples/deploy/rbac/apisix_view_clusterrole.yaml
@@ -23,6 +23,12 @@ rules:
- apiGroups:
- ""
resources:
+ - events
+ verbs:
+ - "*"
+- apiGroups:
+ - ""
+ resources:
- configmaps
- endpoints
- persistentvolumeclaims
@@ -40,7 +46,6 @@ rules:
- ""
resources:
- bindings
- - events
- limitranges
- namespaces/status
- pods/log