mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Bump chart version Signed-off-by: Vincent Beaulieu <vbeaulieu@GENETEC.COM> * Support RBAC Signed-off-by: Vincent Beaulieu <vbeaulieu@GENETEC.COM> * Revert deployment.yaml resulting from bad merge Signed-off-by: Vincent Beaulieu <vbeaulieu@GENETEC.COM> * add missing newline character Signed-off-by: Vincent Beaulieu <vbeaulieu@GENETEC.COM> * Service account name template Signed-off-by: Vincent Beaulieu <vbeaulieu@GENETEC.COM>
20 lines
543 B
YAML
20 lines
543 B
YAML
{{- if .Values.rbac.create }}
|
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: {{ template "fluentd.fullname" . }}
|
|
labels:
|
|
app: {{ template "fluentd.name" . }}
|
|
chart: {{ template "fluentd.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
roleRef:
|
|
kind: Role
|
|
name: {{ template "fluentd.fullname" . }}
|
|
apiGroup: rbac.authorization.k8s.io
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ template "fluentd.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- end }}
|