Files
connected-home/helm/redpanda-operator/templates/clusterrole_metrics.yaml
Steve Sampson a5ad4341cf
All checks were successful
continuous-integration/drone/push Build is passing
Add Behave BDD Tests and Swagger Docs
* Added Behave BDD Tests for User Service
* Added Swagger Docs for User Service
* Added Vault, Redpanda helm config (not yet being used)
* Added frontend config for host / port when running locally
2022-05-19 09:24:31 -03:00

25 lines
616 B
YAML

{{/*
Copyright 2020 Redpanda Data, Inc.
Use of this software is governed by the Business Source License
included in the file licenses/BSL.md
As of the Change Date specified in that file, in accordance with
the Business Source License, use of this software will be governed
by the Apache License, Version 2.0
*/}}
{{- if .Values.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "redpanda-operator.fullname" . }}-metrics-reader
labels:
{{ include "redpanda-operator.labels" . | indent 4 }}
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
{{- end -}}