Thanks. I shelled into my container and I was able to successfully do DNS requests (and full HTTP with the outside world).
0: error sending request for url (https://lemmy.ml/.well-known/webfinger?resource=acct:cryptography@lemmy.ml): error trying to connect: error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:../crypto/store/store_register.c:237:scheme=file, error:80000002:system library:file_open:reason(2):../providers/implementations/storemgmt/file_store.c:267:calling stat(/usr/lib/ssl/certs), error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme
(and so on)
My podspec is as follows:
volumes:
- name: lemmy-config
secret:
secretName: lemmy-config
imagePullSecrets:
- name: ocirsecret
automountServiceAccountToken: false
containers:
- name: lemmy
image: [...]
imagePullPolicy: Always
env:
- name: LEMMY_CONFIG_LOCATION
value: /etc/lemmy-config/lemmy.hjson
ports:
- containerPort: 8536
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
volumeMounts:
- mountPath: /etc/lemmy-config
name: lemmy-config
readOnly: true
- name: lemmy-ui
image: [...]
imagePullPolicy: Always
ports:
- containerPort: 1234
resources: {}
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
enableServiceLinks: true
hostname: lemmy
restartPolicy: Always
this is me fwiw