Hi, i keep getting openssl related error when running in kubernetes pod started by jenkins
21: exec apk add --no-cache ca-certificates
21: [0.11s] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
21: [0.15s] 480BB8E98F7F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:303:
21: [0.15s] WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.18/main: Permission denied
21: [0.15s] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
21: [0.16s] 480BB8E98F7F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:303:
21: [0.16s] WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.18/community: Permission denied
21: [0.16s] OK: 46 MiB in 58 packages
21: exec apk add --no-cache ca-certificates DONE
20: exec git clone --recursive https://git*** .
20: [0.16s] Cloning into '.'...
20: [0.16s] fatal: unable to access 'https://git***/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to git***:443
the pod template is following:
apiVersion: v1
kind: Pod
spec:
nodeSelector:
workload: jenkins
tolerations:
- key: workload
operator: Equal
value: jenkins
effect: NoSchedule
imagePullSecrets:
- name: docker-hub
containers:
- name: dagger
image: ***/dagger-pipeline:latest
env:
- name: _EXPERIMENTAL_DAGGER_CACHE_CONFIG
value: type=registry,ref=localhost:5000/test-cache,mode=max
- name: _EXPERIMENTAL_DAGGER_RUNNER_HOST
value: tcp://localhost:8080
command:
- cat
tty: true
- name: server
image: registry.dagger.io/engine:v0.6.4
securityContext:
privileged: true
volumeMounts:
- mountPath: /var/lib/dagger
name: dagger-cache
args: [--addr, tcp://0.0.0.0:8080]
- name: registry
image: registry:2
volumes:
- name: dagger-cache
emptyDir: {}
the pipeline runs fine in my laptop though