Snippets

Mythics OpenShift - Oracle Service Account - anyuid

Created by Jonathan Hult
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
  name: oracle-anyuid-role
rules:
  - apiGroups:
    - security.openshift.io
    resourceNames:
      - anyuid
    resources:
      - securitycontextconstraints
    verbs:
      - use
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
  name: oracle-anyuid-rolebinding
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: oracle-anyuid-role
subjects:
  - kind: ServiceAccount
    name: oracle

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.