04_rolebinding.yml 394 B

123456789101112131415
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: RoleBinding
  3. metadata:
  4. annotations:
  5. openshift.io/description: Allows ssh-pod to run as root
  6. name: ssh-bastion
  7. namespace: byoh-ssh-bastion
  8. roleRef:
  9. apiGroup: rbac.authorization.k8s.io
  10. kind: Role
  11. name: ssh-bastion
  12. subjects:
  13. - apiGroup: rbac.authorization.k8s.io
  14. kind: User
  15. name: system:serviceaccount:byoh-ssh-bastion:ssh-bastion