mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-29 13:39:35 +01:00
7b8a51070f
* With the new component system, these components can be managed independent from the cluster and rolled or edited in advanced ways
37 lines
678 B
HCL
37 lines
678 B
HCL
resource "kubernetes_cluster_role_binding" "operator" {
|
|
metadata {
|
|
name = "cilium-operator"
|
|
}
|
|
|
|
role_ref {
|
|
api_group = "rbac.authorization.k8s.io"
|
|
kind = "ClusterRole"
|
|
name = "cilium-operator"
|
|
}
|
|
|
|
subject {
|
|
kind = "ServiceAccount"
|
|
name = "cilium-operator"
|
|
namespace = "kube-system"
|
|
}
|
|
}
|
|
|
|
resource "kubernetes_cluster_role_binding" "agent" {
|
|
metadata {
|
|
name = "cilium-agent"
|
|
}
|
|
|
|
role_ref {
|
|
api_group = "rbac.authorization.k8s.io"
|
|
kind = "ClusterRole"
|
|
name = "cilium-agent"
|
|
}
|
|
|
|
subject {
|
|
kind = "ServiceAccount"
|
|
name = "cilium-agent"
|
|
namespace = "kube-system"
|
|
}
|
|
}
|
|
|