sdn-policy.yaml 598 B

1234567891011121314151617181920212223242526272829
  1. kind: List
  2. apiVersion: v1
  3. items:
  4. - kind: ServiceAccount
  5. apiVersion: v1
  6. metadata:
  7. name: sdn
  8. namespace: openshift-sdn
  9. - apiVersion: authorization.openshift.io/v1
  10. kind: ClusterRoleBinding
  11. metadata:
  12. name: sdn-cluster-reader
  13. roleRef:
  14. name: cluster-reader
  15. subjects:
  16. - kind: ServiceAccount
  17. name: sdn
  18. namespace: openshift-sdn
  19. - apiVersion: authorization.openshift.io/v1
  20. kind: ClusterRoleBinding
  21. metadata:
  22. name: sdn-reader
  23. roleRef:
  24. name: system:sdn-reader
  25. subjects:
  26. - kind: ServiceAccount
  27. name: sdn
  28. namespace: openshift-sdn
  29. # TODO: PSP binding