Skip to content

Commit

Permalink
Leave rbac as optional in template
Browse files Browse the repository at this point in the history
  • Loading branch information
samayer12 committed Jan 6, 2025
1 parent 3d92c04 commit 64994f1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cli/init/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ type peprPackageJSON = {
alwaysIgnore: { namespaces: string[] };
includedFiles: string[];
env: object;
rbac: PolicyRule[];
rbacMode: RbacMode;
rbac?: PolicyRule[];
rbacMode?: RbacMode;
};
scripts: { "k3d-setup": string };
dependencies: { pepr: string; undici: string };
Expand Down Expand Up @@ -80,8 +80,6 @@ export function genPkgJSON(opts: InitOptions, pgkVerOverride?: string): peprPack
},
includedFiles: [],
env: pgkVerOverride ? testEnv : {},
rbac: [],
rbacMode: RbacMode.SCOPED,
},
scripts: {
"k3d-setup": scripts["test:journey:k3d"],
Expand Down

0 comments on commit 64994f1

Please sign in to comment.