From c8110c31ef8f3d170fe12b4080e4f9703ff91f77 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Wed, 8 Mar 2023 21:37:04 -0800 Subject: [PATCH] update helm chart with rbac for configmaps --- helm-charts/secrets-operator/Chart.yaml | 2 +- .../secrets-operator/templates/manager-rbac.yaml | 11 +++++++++++ .../kubectl-install/install-secrets-operator.yaml | 11 +++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/helm-charts/secrets-operator/Chart.yaml b/helm-charts/secrets-operator/Chart.yaml index 7a390b2694..a7716ab69f 100644 --- a/helm-charts/secrets-operator/Chart.yaml +++ b/helm-charts/secrets-operator/Chart.yaml @@ -13,7 +13,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.1.3 +version: 0.1.4 # 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 # follow Semantic Versioning. They should reflect the version the application is using. diff --git a/helm-charts/secrets-operator/templates/manager-rbac.yaml b/helm-charts/secrets-operator/templates/manager-rbac.yaml index a560790f6f..758bc7dfe7 100644 --- a/helm-charts/secrets-operator/templates/manager-rbac.yaml +++ b/helm-charts/secrets-operator/templates/manager-rbac.yaml @@ -5,6 +5,17 @@ metadata: labels: {{- include "secrets-operator.labels" . | nindent 4 }} rules: +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - update + - watch - apiGroups: - "" resources: diff --git a/k8-operator/kubectl-install/install-secrets-operator.yaml b/k8-operator/kubectl-install/install-secrets-operator.yaml index 34722bc31c..7902babfb3 100644 --- a/k8-operator/kubectl-install/install-secrets-operator.yaml +++ b/k8-operator/kubectl-install/install-secrets-operator.yaml @@ -190,6 +190,17 @@ metadata: creationTimestamp: null name: infisical-operator-manager-role rules: +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - update + - watch - apiGroups: - "" resources: