Skip to content

Commit

Permalink
Fix rbac roles for metrics
Browse files Browse the repository at this point in the history
maruina committed May 31, 2022
1 parent 3859a62 commit ef75d6a
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kms-issuer/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ spec:
- containerPort: 8443
name: https
protocol: TCP
{{- endif }}
{{- end }}
- command:
- /manager
- --health-probe-bind-address={{ .Values.args.healthProbeBindAddress }}
2 changes: 1 addition & 1 deletion charts/kms-issuer/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -160,6 +160,7 @@ subjects:
- kind: ServiceAccount
name: cert-manager
namespace: cert-manager
{{- if .Values.enableMetricsRbacProxy }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@@ -171,7 +172,6 @@ rules:
verbs:
- get
---
{{- if .Values.enableMetricsRbacProxy }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:

0 comments on commit ef75d6a

Please sign in to comment.