mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 06:29:09 +01:00
Add a ca-bundle chart for the patched CA bundle
Nine more namespaces need patched-ca-bundle, the bundle from Alpine ca-certificates-bundle 20261020-r0 without the roots above the compromised eMudhra intermediates. Rather than another nine ~190KB copies, a small chart renders the ConfigMap from one ca-certificates.crt into every namespace in values.yaml. argocd, authentik and actual-budget keep their own copies for now.
This commit is contained in:
1 parent
3e45ddaf4a
commit
9a984c724c
5 files changed
+3117
No files matched your search
@@ -0,0 +1,5 @@
|
||||
apiVersion: v2
|
||||
name: ca-bundle
|
||||
description: Puts the patched-ca-bundle ConfigMap in every namespace listed in values.yaml
|
||||
type: application
|
||||
version: 0.1.0
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,20 @@
|
||||
{{- /*
|
||||
Temporary CA bundle: ca-certificates.crt is /etc/ssl/certs/ca-certificates.crt
|
||||
from Alpine ca-certificates-bundle 20261020-r0, which drops the roots above
|
||||
the compromised eMudhra intermediates (https://emudhra.we-have-a-problem.com).
|
||||
Workloads mount it over /etc/ssl/certs until their images ship a fixed
|
||||
bundle. Server-side apply keeps the bundle out of the last-applied annotation.
|
||||
*/}}
|
||||
{{- range .Values.namespaces }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: patched-ca-bundle
|
||||
namespace: {{ . }}
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: ServerSideApply=true
|
||||
data:
|
||||
ca-certificates.crt: |
|
||||
{{ $.Files.Get "ca-certificates.crt" | indent 4 }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,12 @@
|
||||
# Namespaces that get the patched-ca-bundle ConfigMap. argocd, authentik and
|
||||
# actual-budget still have their own copy in their folders.
|
||||
namespaces:
|
||||
- bolletjestrui
|
||||
- cert-manager
|
||||
- gatus
|
||||
- ghost-blog
|
||||
- gitea
|
||||
- immich
|
||||
- ntfy
|
||||
- serpbear
|
||||
- whisper
|
||||
Reference in new issue
Block a user