Skip to content

Commit

Permalink
Merge pull request #67 from milosgajdos/fix-helm-chart
Browse files Browse the repository at this point in the history
Update RBAC rules for Helm chart ClusterRole
  • Loading branch information
mathianasj authored Jul 29, 2020
2 parents 1059e69 + 40d59fb commit 44dd7bc
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions charts/cert-utils-operator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,48 +31,54 @@ rules:
resources:
- customresourcedefinitions
verbs:
- "*"
- "*"
- apiGroups:
- "apiregistration.k8s.io"
resources:
- apiservices
verbs:
- "*"
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cert-utils-operator
namespace: {{ .Release.Namespace }}
rules:
# leader election
# leader election
- apiGroups:
- ""
resources:
- configmaps
- pods
verbs:
- "*"
#Metrics
- "*"
#Metrics
- apiGroups:
- ""
resources:
- services
- services/finalizers
verbs:
- "*"
#Metrics
#Metrics
- apiGroups:
- "apps"
resources:
- replicasets
- deployments
verbs:
verbs:
- "get"
- "list"
# Metrics
# Metrics
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- "get"
- "create"
# Metrics
# Metrics
- apiGroups:
- apps
resources:
Expand Down

0 comments on commit 44dd7bc

Please sign in to comment.