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.

44 lines
1.0 KiB

  1. {% if cilium_hubble_tls_generate %}
  2. ---
  3. # Source: cilium/templates/hubble-generate-certs-clusterrolebinding.yaml
  4. apiVersion: rbac.authorization.k8s.io/v1
  5. kind: ClusterRoleBinding
  6. metadata:
  7. name: hubble-generate-certs
  8. roleRef:
  9. apiGroup: rbac.authorization.k8s.io
  10. kind: ClusterRole
  11. name: hubble-generate-certs
  12. subjects:
  13. - kind: ServiceAccount
  14. name: hubble-generate-certs
  15. namespace: kube-system
  16. {% endif %}
  17. ---
  18. # Source: cilium/templates/hubble-relay-clusterrolebinding.yaml
  19. kind: ClusterRoleBinding
  20. apiVersion: rbac.authorization.k8s.io/v1
  21. metadata:
  22. name: hubble-relay
  23. roleRef:
  24. apiGroup: rbac.authorization.k8s.io
  25. kind: ClusterRole
  26. name: hubble-relay
  27. subjects:
  28. - kind: ServiceAccount
  29. namespace: kube-system
  30. name: hubble-relay
  31. ---
  32. # Source: cilium/templates/hubble-ui-clusterrolebinding.yaml
  33. kind: ClusterRoleBinding
  34. apiVersion: rbac.authorization.k8s.io/v1
  35. metadata:
  36. name: hubble-ui
  37. roleRef:
  38. apiGroup: rbac.authorization.k8s.io
  39. kind: ClusterRole
  40. name: hubble-ui
  41. subjects:
  42. - kind: ServiceAccount
  43. namespace: kube-system
  44. name: hubble-ui