Skip to content

Commit 0eb3672

Browse files
committed
Feat(#199): initial test setup for restrictes PSS/PSA with K8s 1.25 now with linting
1 parent 06d9966 commit 0eb3672

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

wrongsecrets-balancer/src/kubernetes.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ const createK8sDeploymentForTeam = async ({ team, passcodeHash }) => {
132132
allowPrivilegeEscalation: false,
133133
readOnlyRootFilesystem: true,
134134
runAsNonRoot: true,
135-
capabilities: {drop: [ALL]},
136-
seccompProfile: {type: RuntimeDefault},
135+
capabilities: { drop: ['ALL'] },
136+
seccompProfile: { type: 'RuntimeDefault' },
137137
},
138138
env: [
139139
{
@@ -388,8 +388,8 @@ const createAWSDeploymentForTeam = async ({ team, passcodeHash }) => {
388388
allowPrivilegeEscalation: false,
389389
readOnlyRootFilesystem: true,
390390
runAsNonRoot: true,
391-
capabilities: {drop: [ALL]},
392-
seccompProfile: {type: RuntimeDefault},
391+
capabilities: { drop: ['ALL'] },
392+
seccompProfile: { type: 'RuntimeDefault' },
393393
},
394394
env: [
395395
{
@@ -1096,8 +1096,8 @@ const createDesktopDeploymentForTeam = async ({ team, passcodeHash }) => {
10961096
allowPrivilegeEscalation: false,
10971097
readOnlyRootFilesystem: true,
10981098
runAsNonRoot: true,
1099-
capabilities: {drop: [ALL]},
1100-
seccompProfile: {type: RuntimeDefault},
1099+
capabilities: { drop: ['ALL'] },
1100+
seccompProfile: { type: 'RuntimeDefault' },
11011101
},
11021102
env: [...get('virtualdesktop.env', [])],
11031103
envFrom: get('virtualdesktop.envFrom'),

0 commit comments

Comments
 (0)