# Service account for the Rook-Ceph operator apiVersion: v1 kind: ServiceAccount metadata: name: rook-ceph-system namespace: {{ .Release.Namespace }} # namespace:operator labels: operator: rook storage-backend: ceph {{- include "library.rook-ceph.labels" . | nindent 4 }} {{ template "library.imagePullSecrets" . }} --- # Service account for the CephFS CSI driver apiVersion: v1 kind: ServiceAccount metadata: name: rook-csi-cephfs-plugin-sa namespace: {{ .Release.Namespace }} # namespace:operator {{ template "library.imagePullSecrets" . }} --- {{- if .Values.csi.nfs.enabled }} # Service account for the NFS CSI driver apiVersion: v1 kind: ServiceAccount metadata: name: rook-csi-nfs-plugin-sa namespace: {{ .Release.Namespace }} # namespace:operator {{ template "library.imagePullSecrets" . }} --- # Service account for the NFS CSI provisioner apiVersion: v1 kind: ServiceAccount metadata: name: rook-csi-nfs-provisioner-sa namespace: {{ .Release.Namespace }} # namespace:operator {{ template "library.imagePullSecrets" . }} --- {{ end }} # Service account for the CephFS CSI provisioner apiVersion: v1 kind: ServiceAccount metadata: name: rook-csi-cephfs-provisioner-sa namespace: {{ .Release.Namespace }} # namespace:operator {{ template "library.imagePullSecrets" . }} --- # Service account for the RBD CSI driver apiVersion: v1 kind: ServiceAccount metadata: name: rook-csi-rbd-plugin-sa namespace: {{ .Release.Namespace }} # namespace:operator {{ template "library.imagePullSecrets" . }} --- # Service account for the RBD CSI provisioner apiVersion: v1 kind: ServiceAccount metadata: name: rook-csi-rbd-provisioner-sa namespace: {{ .Release.Namespace }} # namespace:operator {{ template "library.imagePullSecrets" . }} --- # Service account for Ceph COSI driver apiVersion: v1 kind: ServiceAccount metadata: name: objectstorage-provisioner namespace: {{ .Release.Namespace }} # namespace:operator labels: app.kubernetes.io/part-of: container-object-storage-interface app.kubernetes.io/component: driver-ceph app.kubernetes.io/name: cosi-driver-ceph {{ template "library.imagePullSecrets" . }}