From 1bebbf69aa8a2533b0fafcfb522a76743e96e06a Mon Sep 17 00:00:00 2001 From: Serge Logvinov Date: Thu, 12 Oct 2023 11:21:17 +0300 Subject: [PATCH] Add permision to read node labels K8SPSMDB-1003 - add kubernetes node zone/region tags to the monogo nodes. --- charts/psmdb-operator/Chart.yaml | 2 +- charts/psmdb-operator/templates/role.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/charts/psmdb-operator/Chart.yaml b/charts/psmdb-operator/Chart.yaml index 40e79057..19580d28 100644 --- a/charts/psmdb-operator/Chart.yaml +++ b/charts/psmdb-operator/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "1.15.0" description: A Helm chart for deploying the Percona Operator for MongoDB name: psmdb-operator home: https://docs.percona.com/percona-operator-for-mongodb/ -version: 1.15.2 +version: 1.15.3 maintainers: - name: tplavcic email: tomislav.plavcic@percona.com diff --git a/charts/psmdb-operator/templates/role.yaml b/charts/psmdb-operator/templates/role.yaml index 6fee7431..4651d62f 100644 --- a/charts/psmdb-operator/templates/role.yaml +++ b/charts/psmdb-operator/templates/role.yaml @@ -44,6 +44,14 @@ rules: - update - patch - delete + - apiGroups: + - "" + resources: + - nodes + verbs: + - get + - list + - watch {{- end }} - apiGroups: - ""