Skip to content

Commit

Permalink
feat: add permission to events, fix missing subresources in crd. (#514)
Browse files Browse the repository at this point in the history
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
  • Loading branch information
lingsamuel committed May 28, 2021
1 parent 880d573 commit 2f2e6f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions samples/deploy/crd/v1beta1/ApisixTls.yaml
Expand Up @@ -46,6 +46,8 @@ spec:
shortNames:
- atls
preserveUnknownFields: false
subresources:
status: {}
validation:
openAPIV3Schema:
type: object
Expand Down
2 changes: 2 additions & 0 deletions samples/deploy/crd/v1beta1/ApisixUpstream.yaml
Expand Up @@ -33,6 +33,8 @@ spec:
shortNames:
- au
preserveUnknownFields: false
subresources:
status: {}
validation:
openAPIV3Schema:
type: object
Expand Down
7 changes: 6 additions & 1 deletion samples/deploy/rbac/apisix_view_clusterrole.yaml
Expand Up @@ -20,6 +20,12 @@ kind: ClusterRole
metadata:
name: apisix-view-clusterrole
rules:
- apiGroups:
- ""
resources:
- events
verbs:
- "*"
- apiGroups:
- ""
resources:
Expand All @@ -40,7 +46,6 @@ rules:
- ""
resources:
- bindings
- events
- limitranges
- namespaces/status
- pods/log
Expand Down

0 comments on commit 2f2e6f8

Please sign in to comment.