Skip to content

Commit baabdb1

Browse files
committed
api: add SecurityContextConstraints to nvmeof ServiceAccounts
The NVMe-oF ServiceAccounts need an SCC so that they can be used on OpenShift. Signed-off-by: Niels de Vos <ndevos@ibm.com>
1 parent 67aa857 commit baabdb1

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

api/deploy/ocp/scc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ users:
4545
- "system:serviceaccount:{{ .Namespace }}:{{ .Prefix }}csi-cephfs-provisioner-sa"
4646
- "system:serviceaccount:{{ .Namespace }}:{{ .Prefix }}csi-nfs-plugin-sa"
4747
- "system:serviceaccount:{{ .Namespace }}:{{ .Prefix }}csi-nfs-provisioner-sa"
48+
- "system:serviceaccount:{{ .Namespace }}:{{ .Prefix }}csi-nvmeof-plugin-sa"
49+
# yamllint disable-line rule:line-length
50+
- "system:serviceaccount:{{ .Namespace }}:{{ .Prefix }}csi-nvmeof-provisioner-sa"

deploy/scc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ users:
5252
- "system:serviceaccount:ceph-csi:csi-cephfs-provisioner-sa"
5353
- "system:serviceaccount:ceph-csi:csi-nfs-plugin-sa"
5454
- "system:serviceaccount:ceph-csi:csi-nfs-provisioner-sa"
55+
- "system:serviceaccount:ceph-csi:csi-nvmeof-plugin-sa"
56+
# yamllint disable-line rule:line-length
57+
- "system:serviceaccount:ceph-csi:csi-nvmeof-provisioner-sa"

vendor/github.com/ceph/ceph-csi/api/deploy/ocp/scc.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)