---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: node-ca
  namespace: openshift-image-registry
rules:
- apiGroups:
  - security.openshift.io
  resources:
  - securitycontextconstraints
  verbs:
  - use
  resourceNames:
  - privileged
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: node-ca
  namespace: openshift-image-registry
subjects:
- kind: ServiceAccount
  name: node-ca
  namespace: openshift-image-registry
roleRef:
  kind: Role
  name: node-ca
  apiGroup: rbac.authorization.k8s.io
