From aae672b36a4eb039dd0e7a7d873ca4bd0e51b904 Mon Sep 17 00:00:00 2001 From: Gagan Singh Date: Wed, 4 Aug 2021 17:29:41 +0530 Subject: [PATCH] chore: fixed api groups --- src/index.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index a152f98..fd27c4e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -200,7 +200,9 @@ export class SealedSecretsTemplate extends Construct { }, rules: [ { - apiGroups: [], + apiGroups: [ + '', + ], resourceNames: [ this.name, 'http:' + this.name + ':', @@ -230,7 +232,9 @@ export class SealedSecretsTemplate extends Construct { }, rules: [ { - apiGroups: [], + apiGroups: [ + '', + ], resources: [ 'secrets', ], @@ -269,7 +273,9 @@ export class SealedSecretsTemplate extends Construct { ], }, { - apiGroups: [], + apiGroups: [ + '', + ], resources: [ 'secrets', ], @@ -281,7 +287,9 @@ export class SealedSecretsTemplate extends Construct { ], }, { - apiGroups: [], + apiGroups: [ + '', + ], resources: [ 'events', ], @@ -425,6 +433,7 @@ export class SealedSecretsTemplate extends Construct { maxSurge: '25%', maxUnavailable: '25%', }, + type: 'RollingUpdate', }; } } \ No newline at end of file