From 96afcbf1bd582fd3abb1ea3523f0ed9fd53848b1 Mon Sep 17 00:00:00 2001 From: SK Ali Arman Date: Thu, 21 Dec 2023 16:46:05 +0600 Subject: [PATCH] Add cluster-role apigroup (#749) Signed-off-by: SK Ali Arman --- charts/kubedb-provider-aws/templates/cluster-role.yaml | 5 ++++- charts/kubedb-provider-azure/templates/cluster-role.yaml | 5 ++++- charts/kubedb-provider-gcp/templates/cluster-role.yaml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/charts/kubedb-provider-aws/templates/cluster-role.yaml b/charts/kubedb-provider-aws/templates/cluster-role.yaml index 000bd78f3..d22908eef 100644 --- a/charts/kubedb-provider-aws/templates/cluster-role.yaml +++ b/charts/kubedb-provider-aws/templates/cluster-role.yaml @@ -17,6 +17,9 @@ rules: - kms.aws.kubedb.com - memorydb.aws.kubedb.com - rds.aws.kubedb.com + - iam.aws.kubedb.com + - secretsmanager.aws.kubedb.com + - sns.aws.kubedb.com resources: ["*"] verbs: ["*"] - apiGroups: @@ -28,7 +31,7 @@ rules: resources: - nodes - secrets - verbs: ["list","watch","get"] + verbs: ["create", "list", "watch", "get"] - apiGroups: [""] resources: - serviceaccounts diff --git a/charts/kubedb-provider-azure/templates/cluster-role.yaml b/charts/kubedb-provider-azure/templates/cluster-role.yaml index 67824a510..b0e06d8b2 100644 --- a/charts/kubedb-provider-azure/templates/cluster-role.yaml +++ b/charts/kubedb-provider-azure/templates/cluster-role.yaml @@ -14,6 +14,9 @@ rules: - dbforpostgresql.azure.kubedb.com - keyvault.azure.kubedb.com - network.azure.kubedb.com + - storage.azure.kubedb.com + - sql.azure.kubedb.com + - authorization.azure.kubedb.com resources: ["*"] verbs: ["*"] - apiGroups: @@ -25,7 +28,7 @@ rules: resources: - nodes - secrets - verbs: ["list","watch","get"] + verbs: ["create", "list", "watch", "get"] - apiGroups: [""] resources: - serviceaccounts diff --git a/charts/kubedb-provider-gcp/templates/cluster-role.yaml b/charts/kubedb-provider-gcp/templates/cluster-role.yaml index d5223b241..d995712b7 100644 --- a/charts/kubedb-provider-gcp/templates/cluster-role.yaml +++ b/charts/kubedb-provider-gcp/templates/cluster-role.yaml @@ -22,7 +22,7 @@ rules: resources: - nodes - secrets - verbs: ["list","watch","get"] + verbs: ["create", "list", "watch", "get"] - apiGroups: [""] resources: - serviceaccounts