You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
641 B

  1. ---
  2. kind: ClusterRoleBinding
  3. apiVersion: rbac.authorization.k8s.io/v1beta1
  4. metadata:
  5. name: tiller
  6. namespace: {{ tiller_namespace }}
  7. subjects:
  8. - kind: ServiceAccount
  9. name: tiller
  10. namespace: {{ tiller_namespace }}
  11. roleRef:
  12. kind: ClusterRole
  13. name: cluster-admin
  14. apiGroup: rbac.authorization.k8s.io
  15. {% if podsecuritypolicy_enabled %}
  16. ---
  17. kind: ClusterRoleBinding
  18. apiVersion: rbac.authorization.k8s.io/v1
  19. metadata:
  20. name: psp:tiller
  21. subjects:
  22. - kind: ServiceAccount
  23. name: tiller
  24. namespace: {{ tiller_namespace }}
  25. roleRef:
  26. apiGroup: rbac.authorization.k8s.io
  27. kind: ClusterRole
  28. name: psp:privileged
  29. {% endif %}