mirror of
https://github.com/helm/charts.git
synced 2026-08-20 12:57:55 +00:00
* Add bookstack Signed-off-by: Bart Verwilst <bart@verwilst.be> * add home to Chart.yaml, remove whitespaces Signed-off-by: Bart Verwilst <bart@verwilst.be> * do not allow privilege escalation Signed-off-by: Bart Verwilst <bart@verwilst.be> * fix api version for deployment Signed-off-by: Bart Verwilst <bart@verwilst.be>
19 lines
525 B
YAML
19 lines
525 B
YAML
{{- if .Values.rbac.create }}
|
|
kind: RoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: {{ template "bookstack.fullname" . }}
|
|
labels:
|
|
app: {{ template "bookstack.name" . }}
|
|
chart: {{ template "bookstack.chart" . }}
|
|
release: "{{ .Release.Name }}"
|
|
heritage: "{{ .Release.Service }}"
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ template "bookstack.serviceAccountName" . }}
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: Role
|
|
name: {{ template "bookstack.fullname" . }}
|
|
{{- end }}
|