mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 06:29:09 +01:00
immich: 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). The server gets --use-openssl-ca for Node, machine-learning points requests at the bundle instead of certifi.
This commit is contained in:
1 parent
de7ca770a0
commit
7820b8e0bf
1 file changed
+25
@@ -91,6 +91,20 @@ spec:
|
|||||||
image:
|
image:
|
||||||
repository: ghcr.io/immich-app/immich-server
|
repository: ghcr.io/immich-app/immich-server
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
# Node trusts its built-in roots, which still include the
|
||||||
|
# ones above the compromised eMudhra intermediates. Use
|
||||||
|
# patched-ca-bundle through OpenSSL until Node ships a fix.
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: --use-openssl-ca
|
||||||
|
SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
|
||||||
|
persistence:
|
||||||
|
patched-ca-bundle:
|
||||||
|
enabled: true
|
||||||
|
type: configMap
|
||||||
|
name: patched-ca-bundle
|
||||||
|
globalMounts:
|
||||||
|
- path: /etc/ssl/certs
|
||||||
|
readOnly: true
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -135,7 +149,18 @@ spec:
|
|||||||
TRANSFORMERS_CACHE: /cache
|
TRANSFORMERS_CACHE: /cache
|
||||||
HF_XET_CACHE: /cache/huggingface-xet
|
HF_XET_CACHE: /cache/huggingface-xet
|
||||||
MPLCONFIGDIR: /cache/matplotlib-config
|
MPLCONFIGDIR: /cache/matplotlib-config
|
||||||
|
# Trust store without the compromised eMudhra
|
||||||
|
# intermediates; requests would otherwise use certifi.
|
||||||
|
SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
|
||||||
|
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
|
||||||
persistence:
|
persistence:
|
||||||
|
patched-ca-bundle:
|
||||||
|
enabled: true
|
||||||
|
type: configMap
|
||||||
|
name: patched-ca-bundle
|
||||||
|
globalMounts:
|
||||||
|
- path: /etc/ssl/certs
|
||||||
|
readOnly: true
|
||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
|||||||
Reference in new issue
Block a user