Skip to content

Commit 1ca4d1d

Browse files
committed
forgejo: runner rootless dind (v2.1)
1 parent a47a37d commit 1ca4d1d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

manifests/apps/by-cluster/rgst/forgejo.jsonnet

+4-6
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,8 @@ local all = {
142142
spec: {
143143
replicas: 2,
144144
selector: { matchLabels: { app: name + '-runner' } },
145-
strategy: {
146-
type: 'RollingUpdate',
147-
},
145+
serviceName: name + '-runner',
146+
updateStrategy: { type: 'RollingUpdate' },
148147
template: {
149148
metadata: {
150149
labels: {
@@ -247,9 +246,8 @@ local all = {
247246
],
248247
securityContext: {
249248
privileged: true,
250-
runAsUser: '1000',
251-
runAsGroup: '1000',
252-
fsGroups: [1000],
249+
runAsUser: 1000,
250+
runAsGroup: 1000,
253251
},
254252
restartPolicy: 'Always', // sidecar
255253
volumeMounts: [

0 commit comments

Comments
 (0)