Skip to content

Commit

Permalink
Fix rbac roles for metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
maruina committed May 31, 2022
1 parent 3859a62 commit 9b7979f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kms-issuer/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ subjects:
- kind: ServiceAccount
name: cert-manager
namespace: cert-manager
{{- if .Values.enableMetricsRbacProxy }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand All @@ -171,7 +172,6 @@ rules:
verbs:
- get
---
{{- if .Values.enableMetricsRbacProxy }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
Expand Down

0 comments on commit 9b7979f

Please sign in to comment.