Skip to content

Commit

Permalink
fix: update RBAC in helm templates
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerGillson committed Aug 29, 2023
1 parent c2c96e8 commit 6ff735c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 17 deletions.
48 changes: 33 additions & 15 deletions chart/valid8or/templates/manager-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rules:
- apiGroups:
- validation.spectrocloud.labs
resources:
- valid8orconfigs
- '*'
verbs:
- create
- delete
Expand All @@ -18,23 +18,24 @@ rules:
- update
- watch
- apiGroups:
- validation.spectrocloud.labs
- ""
resources:
- valid8orconfigs/finalizers
verbs:
- update
- apiGroups:
- validation.spectrocloud.labs
resources:
- valid8orconfigs/status
- namespaces
- secrets
- serviceaccounts
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- validation.spectrocloud.labs
- apiextensions.k8s.io
resources:
- validationresults
- customresourcedefinitions
verbs:
- create
- delete
Expand All @@ -44,19 +45,36 @@ rules:
- update
- watch
- apiGroups:
- validation.spectrocloud.labs
- rbac.authorization.k8s.io
resources:
- validationresults/finalizers
- clusterroles
- clusterrolebindings
- roles
- rolebindings
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- validation.spectrocloud.labs
- apps
resources:
- validationresults/status
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- nonResourceURLs:
- /metrics
verbs:
- get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
2 changes: 1 addition & 1 deletion chart/valid8or/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ plugins:
resources:
limits:
cpu: 500m
memory: 128Mi
memory: 512Mi
requests:
cpu: 10m
memory: 64Mi
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
resources:
limits:
cpu: 500m
memory: 128Mi
memory: 512Mi
requests:
cpu: 10m
memory: 64Mi
Expand Down

0 comments on commit 6ff735c

Please sign in to comment.