Closed
Description
the scc in the in openshift_rbac.yaml is completly wrong formated and has the wrong API.
https://github.com/oracle/oracle-database-operator/blob/main/config/samples/sidb/openshift_rbac.yaml
This might be the right content:
kind: SecurityContextConstraints
apiVersion: security.openshift.io/v1
metadata:
name: sidb-scc
namespace: default
allowPrivilegedContainer: false
users:
- system:serviceaccount:default:sidb-sa
- system:serviceaccount:default:oracle-database-operator
runAsUser:
type: MustRunAsRange
uidRangeMin: 0
uidRangeMax: 60000
seLinuxContext:
type: RunAsAny
fsGroup:
type: MustRunAs
ranges:
- min: 0
max: 60000
supplementalGroups:
type: MustRunAs
ranges:
- min: 0
max: 60000