okozachenko1203 | 2314726 | 2023-01-28 04:16:42 +1100 | [diff] [blame] | 1 | {{/* |
| 2 | These are resources scoped to the CephCluster namespace. They will be created in the operator |
| 3 | namespace by default so that a user can easily install a CephCluster into the operator's namespace |
| 4 | using example manifests. |
| 5 | */}} |
| 6 | |
| 7 | {{/* |
| 8 | serviceaccounts |
| 9 | */}} |
| 10 | {{ include "library.cluster.serviceaccounts" . }} |
| 11 | |
| 12 | {{/* |
| 13 | clusterrolebindings |
| 14 | */}} |
| 15 | --- |
| 16 | {{ include "library.cluster.clusterrolebindings" . }} |
| 17 | |
| 18 | {{- if .Values.pspEnable }} |
| 19 | {{ include "library.cluster.psp.rolebindings" . }} |
| 20 | {{- end }} |
| 21 | |
| 22 | {{/* |
| 23 | roles |
| 24 | */}} |
| 25 | --- |
| 26 | {{ include "library.cluster.roles" . }} |
| 27 | |
| 28 | {{- if .Values.monitoring.enabled }} |
| 29 | --- |
| 30 | {{ include "library.cluster.monitoring.roles" . }} |
| 31 | {{- end }} |
| 32 | |
| 33 | {{/* |
| 34 | rolebindings |
| 35 | */}} |
| 36 | --- |
| 37 | {{ include "library.cluster.rolebindings" . }} |
| 38 | |
| 39 | {{- if .Values.monitoring.enabled }} |
| 40 | --- |
| 41 | {{ include "library.cluster.monitoring.rolebindings" . }} |
| 42 | {{- end }} |