mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
authentik: mount a CA bundle without the compromised eMudhra roots
Server and worker trusted the leaked eMudhra intermediates through the Debian bundle (ca-certificates 20250419), Python's ssl module and certifi 2026.01.04. Mount patched-ca-bundle over /etc/ssl/certs and point SSL_CERT_FILE and REQUESTS_CA_BUNDLE at it until an authentik image ships a fixed bundle and certifi.
This commit is contained in:
1 parent
a507282103
commit
25a6bf3a05
2 files changed
+3091
No files matched your search
@@ -86,8 +86,18 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: actualbudget-oidc-client-secret
|
name: actualbudget-oidc-client-secret
|
||||||
key: client_secret
|
key: client_secret
|
||||||
|
# Point OpenSSL and requests (which uses certifi otherwise) at
|
||||||
|
# patched-ca-bundle, mounted below until the image drops the
|
||||||
|
# compromised eMudhra intermediates.
|
||||||
|
- name: SSL_CERT_FILE
|
||||||
|
value: /etc/ssl/certs/ca-certificates.crt
|
||||||
|
- name: REQUESTS_CA_BUNDLE
|
||||||
|
value: /etc/ssl/certs/ca-certificates.crt
|
||||||
server:
|
server:
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: patched-ca-bundle
|
||||||
|
configMap:
|
||||||
|
name: patched-ca-bundle
|
||||||
- name: blueprint-vault
|
- name: blueprint-vault
|
||||||
configMap:
|
configMap:
|
||||||
name: authentik-blueprint-vault
|
name: authentik-blueprint-vault
|
||||||
@@ -131,6 +141,9 @@ spec:
|
|||||||
- name: blueprint-session
|
- name: blueprint-session
|
||||||
mountPath: /blueprints/custom/session-duration.yaml
|
mountPath: /blueprints/custom/session-duration.yaml
|
||||||
subPath: session-duration.yaml
|
subPath: session-duration.yaml
|
||||||
|
- name: patched-ca-bundle
|
||||||
|
mountPath: /etc/ssl/certs
|
||||||
|
readOnly: true
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
@@ -144,6 +157,9 @@ spec:
|
|||||||
- authentik.rubenhensen.nl
|
- authentik.rubenhensen.nl
|
||||||
worker:
|
worker:
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: patched-ca-bundle
|
||||||
|
configMap:
|
||||||
|
name: patched-ca-bundle
|
||||||
- name: blueprint-vault
|
- name: blueprint-vault
|
||||||
configMap:
|
configMap:
|
||||||
name: authentik-blueprint-vault
|
name: authentik-blueprint-vault
|
||||||
@@ -187,6 +203,9 @@ spec:
|
|||||||
- name: blueprint-session
|
- name: blueprint-session
|
||||||
mountPath: /blueprints/custom/session-duration.yaml
|
mountPath: /blueprints/custom/session-duration.yaml
|
||||||
subPath: session-duration.yaml
|
subPath: session-duration.yaml
|
||||||
|
- name: patched-ca-bundle
|
||||||
|
mountPath: /etc/ssl/certs
|
||||||
|
readOnly: true
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: false
|
||||||
redis:
|
redis:
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user