mirror of
https://github.com/poseidon/typhoon
synced 2024-11-08 08:49:20 +01:00
7b8a51070f
* With the new component system, these components can be managed independent from the cluster and rolled or edited in advanced ways
38 lines
528 B
HCL
38 lines
528 B
HCL
resource "kubernetes_cluster_role" "coredns" {
|
|
metadata {
|
|
name = "system:coredns"
|
|
}
|
|
rule {
|
|
api_groups = [""]
|
|
resources = [
|
|
"endpoints",
|
|
"services",
|
|
"pods",
|
|
"namespaces",
|
|
]
|
|
verbs = [
|
|
"list",
|
|
"watch",
|
|
]
|
|
}
|
|
rule {
|
|
api_groups = [""]
|
|
resources = [
|
|
"nodes",
|
|
]
|
|
verbs = [
|
|
"get",
|
|
]
|
|
}
|
|
rule {
|
|
api_groups = ["discovery.k8s.io"]
|
|
resources = [
|
|
"endpointslices",
|
|
]
|
|
verbs = [
|
|
"list",
|
|
"watch",
|
|
]
|
|
}
|
|
}
|