43 lines
836 B
YAML
43 lines
836 B
YAML
{{/*
|
|
These are resources scoped to the CephCluster namespace. They will be created in the operator
|
|
namespace by default so that a user can easily install a CephCluster into the operator's namespace
|
|
using example manifests.
|
|
*/}}
|
|
|
|
{{/*
|
|
serviceaccounts
|
|
*/}}
|
|
{{ include "library.cluster.serviceaccounts" . }}
|
|
|
|
{{/*
|
|
clusterrolebindings
|
|
*/}}
|
|
---
|
|
{{ include "library.cluster.clusterrolebindings" . }}
|
|
|
|
{{- if .Values.pspEnable }}
|
|
{{ include "library.cluster.psp.rolebindings" . }}
|
|
{{- end }}
|
|
|
|
{{/*
|
|
roles
|
|
*/}}
|
|
---
|
|
{{ include "library.cluster.roles" . }}
|
|
|
|
{{- if .Values.monitoring.enabled }}
|
|
---
|
|
{{ include "library.cluster.monitoring.roles" . }}
|
|
{{- end }}
|
|
|
|
{{/*
|
|
rolebindings
|
|
*/}}
|
|
---
|
|
{{ include "library.cluster.rolebindings" . }}
|
|
|
|
{{- if .Values.monitoring.enabled }}
|
|
---
|
|
{{ include "library.cluster.monitoring.rolebindings" . }}
|
|
{{- end }}
|