Skip to content

Commit

Permalink
Merge pull request #364 from SwitchTV-BenBettridge/bugfix/missing-clu…
Browse files Browse the repository at this point in the history
…sterrole-perms

Add 'watch' permission for Services/Pods to ClusterRole
  • Loading branch information
ahmedwaleedmalik authored Sep 21, 2021
2 parents 59d7918 + 2905160 commit cc503c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/ingressmonitorcontroller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ingressmonitorcontroller
description: IngressMonitorController Operator chart that runs on kubernetes

# Helm chart Version
version: 2.1.11
version: 2.1.12

# Application version to be deployed
appVersion: 2.1.11
Expand Down
11 changes: 3 additions & 8 deletions charts/ingressmonitorcontroller/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,15 @@ rules:
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- get
- list
- apiGroups:
- ""
resources:
- services
verbs:
- get
- list
- watch
- apiGroups:
- endpointmonitor.stakater.com
resources:
Expand Down Expand Up @@ -111,4 +106,4 @@ rules:
- create
{{- end }}

{{- end }}
{{- end }}

0 comments on commit cc503c4

Please sign in to comment.