mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
serpbear: use a CA bundle without the compromised eMudhra roots
Mount patched-ca-bundle (see ca-bundle/) over /etc/ssl/certs so it stops trusting the compromised eMudhra intermediates (https://emudhra.we-have-a-problem.com). Node uses its built-in roots, so also switch it to OpenSSL's store with --use-openssl-ca.
This commit is contained in:
1 parent
f52b6973e1
commit
345055e3e6
1 file changed
+13
@@ -44,6 +44,13 @@ spec:
|
||||
value: https://serpbear.rubenhensen.nl
|
||||
- name: TZ
|
||||
value: Europe/Amsterdam
|
||||
# Node trusts its built-in roots, which still include the ones
|
||||
# above the compromised eMudhra intermediates. Use
|
||||
# patched-ca-bundle through OpenSSL instead until Node ships a fix.
|
||||
- name: NODE_OPTIONS
|
||||
value: --use-openssl-ca
|
||||
- name: SSL_CERT_FILE
|
||||
value: /etc/ssl/certs/ca-certificates.crt
|
||||
image: towfiqi/serpbear:3.1.0
|
||||
name: serpbear
|
||||
ports:
|
||||
@@ -52,8 +59,14 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /app/data
|
||||
name: data
|
||||
- mountPath: /etc/ssl/certs
|
||||
name: patched-ca-bundle
|
||||
readOnly: true
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: data
|
||||
- name: patched-ca-bundle
|
||||
configMap:
|
||||
name: patched-ca-bundle
|
||||
Reference in new issue
Block a user