Mohammed Naser | b8eccd2 | 2023-02-10 05:55:56 +0000 | [diff] [blame] | 1 | {{- if ne .Release.Namespace .Values.operatorNamespace -}} |
| 2 | |
| 3 | {{/* |
| 4 | serviceaccounts |
| 5 | */}} |
| 6 | {{ include "library.cluster.serviceaccounts" . }} |
| 7 | |
| 8 | {{/* |
| 9 | clusterrolebindings |
| 10 | */}} |
| 11 | --- |
| 12 | {{ include "library.cluster.clusterrolebindings" . }} |
| 13 | |
| 14 | {{- if .Values.pspEnable }} |
| 15 | {{ include "library.cluster.psp.rolebindings" . }} |
| 16 | {{- end }} |
| 17 | |
| 18 | {{/* |
| 19 | roles |
| 20 | */}} |
| 21 | --- |
| 22 | {{ include "library.cluster.roles" . }} |
| 23 | |
| 24 | {{- if .Values.monitoring.enabled }} |
| 25 | --- |
| 26 | {{ include "library.cluster.monitoring.roles" . }} |
| 27 | {{- end }} |
| 28 | |
| 29 | {{/* |
| 30 | rolebindings |
| 31 | */}} |
| 32 | --- |
| 33 | {{ include "library.cluster.rolebindings" . }} |
| 34 | |
| 35 | {{- if .Values.monitoring.enabled }} |
| 36 | --- |
| 37 | {{ include "library.cluster.monitoring.rolebindings" . }} |
| 38 | {{- end }} |
| 39 | |
| 40 | {{- end }} |