From 1fa4f76ce3a861099b2ceede7375d8728718fdf6 Mon Sep 17 00:00:00 2001 From: Joan Miquel Luque Date: Thu, 21 Mar 2024 22:58:09 +0100 Subject: [PATCH] Add patch permissions on secrets (#729) * Add patch permissions on secrets Signed-off-by: Joan Miquel Luque * Bump version Signed-off-by: Joan Miquel Luque --------- Signed-off-by: Joan Miquel Luque --- charts/scaffold/Chart.yaml | 2 +- charts/scaffold/templates/clusterrole.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/scaffold/Chart.yaml b/charts/scaffold/Chart.yaml index b518b7b4..c3ce285a 100644 --- a/charts/scaffold/Chart.yaml +++ b/charts/scaffold/Chart.yaml @@ -4,7 +4,7 @@ description: Scaffolding the components of the sigstore architecture type: application -version: 0.6.46 +version: 0.6.47 keywords: - security - pki diff --git a/charts/scaffold/templates/clusterrole.yaml b/charts/scaffold/templates/clusterrole.yaml index fffd1115..746d2deb 100644 --- a/charts/scaffold/templates/clusterrole.yaml +++ b/charts/scaffold/templates/clusterrole.yaml @@ -6,8 +6,8 @@ metadata: rules: - apiGroups: [""] resources: ["secrets"] - verbs: ["get", "create"] + verbs: ["get", "create", "patch"] - apiGroups: ["apps"] resources: ["deployments"] verbs: ["get", "list"] -{{- end }} \ No newline at end of file +{{- end }}