mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-29 15:49:33 +01:00
19 lines
320 B
Terraform
19 lines
320 B
Terraform
|
resource "kubernetes_cluster_role_binding" "flannel" {
|
||
|
metadata {
|
||
|
name = "flannel"
|
||
|
}
|
||
|
|
||
|
role_ref {
|
||
|
api_group = "rbac.authorization.k8s.io"
|
||
|
kind = "ClusterRole"
|
||
|
name = "flannel"
|
||
|
}
|
||
|
|
||
|
subject {
|
||
|
kind = "ServiceAccount"
|
||
|
name = "flannel"
|
||
|
namespace = "kube-system"
|
||
|
}
|
||
|
}
|
||
|
|