mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-26 17:49:32 +01:00
7b8a51070f
* With the new component system, these components can be managed independent from the cluster and rolled or edited in advanced ways
19 lines
320 B
HCL
19 lines
320 B
HCL
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"
|
|
}
|
|
}
|
|
|