Skip to content

Commit 3528e1f

Browse files
committed
forgejo: runner rootless dind (v4.2)
1 parent 59e6de5 commit 3528e1f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ local all = {
146146
file: '.runner',
147147
envs: {
148148
DOCKER_HOST: 'tcp://localhost:2376',
149-
DOCKER_TLS_VERIFY: '0',
150149
},
151150
capacity: 2,
152151
},
@@ -225,7 +224,6 @@ local all = {
225224
],
226225
env: k.envList({
227226
DOCKER_HOST: 'tcp://localhost:2376',
228-
DOCKER_TLS_VERIFY: '0',
229227
}),
230228
volumeMounts: [
231229
{
@@ -243,6 +241,12 @@ local all = {
243241
{
244242
name: 'docker',
245243
image: 'docker:28.0.1-dind-rootless',
244+
env: k.envList({
245+
DOCKER_TLS_CERTDIR: '',
246+
}),
247+
// Mounting them all the way through to act isn't working
248+
// so we need to disable TLS for now.
249+
args: ['--tls=false'],
246250
securityContext: {
247251
seccompProfile: { type: 'Unconfined' },
248252
appArmorProfile: { type: 'Unconfined' },

0 commit comments

Comments
 (0)