Skip to content

Commit

Permalink
Update Helm chart cluster role template
Browse files Browse the repository at this point in the history
  • Loading branch information
arybolovlev committed Nov 29, 2024
1 parent bcf8308 commit faa4268
Showing 1 changed file with 10 additions and 87 deletions.
97 changes: 10 additions & 87 deletions charts/hcp-terraform-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ rules:
- ""
resources:
- configmaps
- secrets
verbs:
- create
- list
Expand All @@ -24,83 +25,13 @@ rules:
verbs:
- create
- patch
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- list
- update
- watch
- apiGroups:
- apps
resources:
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- app.terraform.io
resources:
- agentpools
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- app.terraform.io
resources:
- agentpools/finalizers
verbs:
- update
- apiGroups:
- app.terraform.io
resources:
- agentpools/status
verbs:
- get
- patch
- update
- apiGroups:
- app.terraform.io
resources:
- modules
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- app.terraform.io
resources:
- modules/finalizers
verbs:
- update
- apiGroups:
- app.terraform.io
resources:
- modules/status
verbs:
- get
- patch
- update
- apiGroups:
- app.terraform.io
resources:
- projects
- workspaces
verbs:
- create
- delete
Expand All @@ -112,21 +43,27 @@ rules:
- apiGroups:
- app.terraform.io
resources:
- agentpools/finalizers
- modules/finalizers
- projects/finalizers
- workspaces/finalizers
verbs:
- update
- apiGroups:
- app.terraform.io
resources:
- agentpools/status
- modules/status
- projects/status
- workspaces/status
verbs:
- get
- patch
- update
- apiGroups:
- app.terraform.io
- apps
resources:
- workspaces
- deployments
verbs:
- create
- delete
Expand All @@ -135,20 +72,6 @@ rules:
- patch
- update
- watch
- apiGroups:
- app.terraform.io
resources:
- workspaces/finalizers
verbs:
- update
- apiGroups:
- app.terraform.io
resources:
- workspaces/status
verbs:
- get
- patch
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down

0 comments on commit faa4268

Please sign in to comment.