Skip to content

Commit

Permalink
Merge pull request #78 from gocd/trim-permissions
Browse files Browse the repository at this point in the history
Remove unnecessary ClusterRole permissions
  • Loading branch information
chadlwilson authored Jan 22, 2023
2 parents 566a2a4 + 1115417 commit 3cbfa8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions gocd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### 2.0.3
* Remove permissions unnecessary for elastic agents from default ClusterRole
### 2.0.2
* Bump pre-installed plugins to latest patched versions (thanks to @chadlwilson)
* Bump Helm test tools to latest versions (thanks to @chadlwilson)
Expand Down
2 changes: 1 addition & 1 deletion gocd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: gocd
home: https://www.gocd.org/
version: 2.0.2
version: 2.0.3
appVersion: 22.3.0
description: GoCD is an open-source continuous delivery server to model and visualize complex workflows with ease.
icon: https://gocd.github.io/assets/images/go-icon-black-192x192.png
Expand Down
8 changes: 2 additions & 6 deletions gocd/templates/gocd-ea-cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@ rules:
- apiGroups: [""]
resources:
- nodes
verbs: ["get", "list"]
verbs: ["list"]
- apiGroups: [""]
resources:
- events
verbs: ["list", "watch"]
- apiGroups: [""]
resources:
- namespaces
verbs: ["get"]
verbs: ["list"]
{{ end }}

0 comments on commit 3cbfa8f

Please sign in to comment.