mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-27 11:09:33 +01:00
25 lines
370 B
Terraform
25 lines
370 B
Terraform
|
resource "kubernetes_cluster_role" "flannel" {
|
||
|
metadata {
|
||
|
name = "flannel"
|
||
|
}
|
||
|
|
||
|
rule {
|
||
|
api_groups = [""]
|
||
|
resources = ["pods"]
|
||
|
verbs = ["get"]
|
||
|
}
|
||
|
|
||
|
rule {
|
||
|
api_groups = [""]
|
||
|
resources = ["nodes"]
|
||
|
verbs = ["list", "watch"]
|
||
|
}
|
||
|
|
||
|
rule {
|
||
|
api_groups = [""]
|
||
|
resources = ["nodes/status"]
|
||
|
verbs = ["patch"]
|
||
|
}
|
||
|
}
|
||
|
|