From 5d9930238afa754b444ab4cdd9046efca758ca88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0alata?= Date: Sun, 4 Apr 2021 21:09:13 +0200 Subject: [PATCH] Fix apiGroup of certificatesigningrequests --- helm/imagepullsecret-injector/Chart.yaml | 2 +- .../templates/certificate-gen/rbac-certificate-gen.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/helm/imagepullsecret-injector/Chart.yaml b/helm/imagepullsecret-injector/Chart.yaml index c2e0a39..881262f 100644 --- a/helm/imagepullsecret-injector/Chart.yaml +++ b/helm/imagepullsecret-injector/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: 0.0.12 +version: 0.0.13 # 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/helm/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml b/helm/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml index fd64f00..89940cd 100644 --- a/helm/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml +++ b/helm/imagepullsecret-injector/templates/certificate-gen/rbac-certificate-gen.yaml @@ -30,15 +30,16 @@ rules: - list - get - apiGroups: - - "certificates.k8s.io/v1" + - certificates.k8s.io resources: - certificatesigningrequests verbs: - create - list - get + - delete - apiGroups: - - "certificates.k8s.io/v1" + - certificates.k8s.io resources: - certificatesigningrequests/approval verbs: