mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 17:31:58 +01:00
69b84c09af
Signed-off-by: magic_rb <magic_rb@redalder.org>
34 lines
716 B
Nix
34 lines
716 B
Nix
{
|
|
apiVersion = "rbac.authorization.k8s.io/v1";
|
|
kind = "Role";
|
|
metadata = {
|
|
labels = {
|
|
app = "istiod";
|
|
release = "istio-istiod";
|
|
};
|
|
name = "istiod-1-20-2";
|
|
namespace = "istio-system";
|
|
};
|
|
rules = [
|
|
{
|
|
apiGroups = ["networking.istio.io"];
|
|
resources = ["gateways"];
|
|
verbs = ["create"];
|
|
}
|
|
{
|
|
apiGroups = [""];
|
|
resources = ["secrets"];
|
|
verbs = ["create" "get" "watch" "list" "update" "delete"];
|
|
}
|
|
{
|
|
apiGroups = [""];
|
|
resources = ["configmaps"];
|
|
verbs = ["delete"];
|
|
}
|
|
{
|
|
apiGroups = ["coordination.k8s.io"];
|
|
resources = ["leases"];
|
|
verbs = ["get" "update" "patch" "create"];
|
|
}
|
|
];
|
|
}
|