helm.tf 474 B

12345678910111213141516171819202122232425
  1. resource "kubernetes_service_account" "tiller" {
  2. metadata {
  3. name = "tiller"
  4. namespace = "kube-system"
  5. }
  6. }
  7. resource "kubernetes_cluster_role_binding" "tiller_clusterrolebinding" {
  8. metadata {
  9. name = "tiller-clusterrolebinding"
  10. }
  11. subject {
  12. kind = "ServiceAccount"
  13. name = "tiller"
  14. namespace = "kube-system"
  15. }
  16. role_ref {
  17. api_group = "rbac.authorization.k8s.io"
  18. kind = "ClusterRole"
  19. name = "cluster-admin"
  20. }
  21. }