commit | 2f2e6f861ca0a27d84ad84763cc0a070e9b6c91d | [log] [tgz] |
---|---|---|
author | Sarasa Kisaragi <lingsamuelgrace@gmail.com> | Fri May 28 15:16:50 2021 +0800 |
committer | GitHub <noreply@github.com> | Fri May 28 15:16:50 2021 +0800 |
tree | 07fbc85d0aa5f79903dfd8f64aaa5ee7cd95f2b5 | |
parent | 880d5736f089daff6682eae0450eae6c18bfef53 [diff] |
feat: add permission to events, fix missing subresources in crd. (#514) Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
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 @@ 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 @@ 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 @@ - apiGroups: - "" resources: + - events + verbs: + - "*" +- apiGroups: + - "" + resources: - configmaps - endpoints - persistentvolumeclaims @@ -40,7 +46,6 @@ - "" resources: - bindings - - events - limitranges - namespaces/status - pods/log