From 1d6604f24774ce67c94eb7ce4ee484cb2f72ea4b Mon Sep 17 00:00:00 2001 From: Bharat Parmar Date: Thu, 23 Sep 2021 16:05:43 +0530 Subject: [PATCH] fix: cannot list resource secrets in API group --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index f7813bc..9ef366c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -219,9 +219,9 @@ export class SealedSecretsTemplate extends Construct { }); // Key admin role - new ApiObject(this, 'sealed-secrets-key-admin-role', { + new ApiObject(this, 'sealed-secrets-key-admin-clusterrole', { apiVersion: 'rbac.authorization.k8s.io/v1beta1', - kind: 'Role', + kind: 'ClusterRole', metadata: { annotations: {}, labels: {