From a0f3b7640152e1bf3bc26125a4d4e7324c870b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilson=20J=C3=BAnior?= Date: Tue, 7 May 2024 09:30:33 -0300 Subject: [PATCH] Add missing permission --- charts/deploy-agent/Chart.yaml | 2 +- charts/deploy-agent/templates/rbac.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/deploy-agent/Chart.yaml b/charts/deploy-agent/Chart.yaml index 8ff7260..999b6a6 100644 --- a/charts/deploy-agent/Chart.yaml +++ b/charts/deploy-agent/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.5.0 +version: 1.5.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/deploy-agent/templates/rbac.yaml b/charts/deploy-agent/templates/rbac.yaml index 1cdb855..54c549d 100644 --- a/charts/deploy-agent/templates/rbac.yaml +++ b/charts/deploy-agent/templates/rbac.yaml @@ -21,6 +21,12 @@ rules: - leases verbs: - '*' +- apiGroups: + - "apps" + resources: + - statefulset + verbs: + - '*' - apiGroups: - tsuru.io resources: