Files
connected-home/helm/redpanda-operator/templates/role_binding.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

28 lines
817 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 -}}
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "redpanda-operator.fullname" . }}-election-rolebinding
labels:
{{ include "redpanda-operator.labels" . | indent 4 }}
subjects:
- kind: ServiceAccount
name: {{ include "redpanda-operator.fullname" . }}
namespace: {{ .Release.Namespace }}
roleRef:
kind: Role
name: {{ include "redpanda-operator.fullname" . }}-election-role
apiGroup: rbac.authorization.k8s.io
{{- end -}}