Skip to content

Commit

Permalink
Add namespace to prom role
Browse files Browse the repository at this point in the history
Signed-off-by: Matz Haugen <matz.haugen@cognite.com>
  • Loading branch information
matzhaugen committed Feb 26, 2021
1 parent 9dae554 commit 3674bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chart/openfaas/templates/prometheus-rbac.yaml
Expand Up @@ -83,6 +83,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ .Release.Name }}-prometheus
namespace: {{ .Release.Namespace | quote }}
labels:
app: {{ template "openfaas.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
Expand Down

0 comments on commit 3674bd8

Please sign in to comment.