Files
Bort Verwilstandk8s-ci-robot 25419da1cd [stable/bookstack] Add chart for Bookstackapp (#7507)
* 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>
2018-09-03 15:41:07 -07:00

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 }}