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