From 93851d9f52078e996aff9861e17415ae2a4ea738 Mon Sep 17 00:00:00 2001 From: Dylan Wylie Date: Tue, 11 Jul 2023 11:49:45 +0100 Subject: [PATCH] etcd-operator :: Add rbac policy to allow managing PodDisruptionBudget --- etcd-operator/operator.libsonnet | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etcd-operator/operator.libsonnet b/etcd-operator/operator.libsonnet index 5c7f951c2..9dc74b640 100644 --- a/etcd-operator/operator.libsonnet +++ b/etcd-operator/operator.libsonnet @@ -28,6 +28,11 @@ policyRule.withApiGroups(['apps']) + policyRule.withResources(['deployments']) + policyRule.withVerbs(['*']), + + policyRule.new() + + policyRule.withApiGroups(['policy']) + + policyRule.withResources(['poddisruptionbudgets']) + + policyRule.withVerbs(['*']), ]), local container = k.core.v1.container,