Skip to content

Commit 7b00d28

Browse files
committed
forgejo: runner rootless dind (v2.6)
1 parent 6842929 commit 7b00d28

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,6 @@ local all = {
149149
labels: {
150150
app: $.runner.spec.selector.matchLabels.app,
151151
},
152-
annotations: {
153-
'container.apparmor.security.beta.kubernetes.io/docker': 'unconfined',
154-
'container.seccomp.security.alpha.kubernetes.io/docker': 'unconfined',
155-
},
156152
},
157153
spec: {
158154
nodeSelector: {
@@ -249,6 +245,8 @@ local all = {
249245
'unix://' + dind_sock,
250246
],
251247
securityContext: {
248+
seccompProfile: { type: 'Unconfined' },
249+
appArmorProfile: { type: 'Unconfined' },
252250
privileged: true,
253251
runAsUser: 1000,
254252
runAsGroup: 1000,

0 commit comments

Comments
 (0)