Add CA certificates bundle and update Headlamp configuration for OIDC

This commit is contained in:
Nikholas Pcenicni
2026-05-14 18:59:47 -04:00
parent 2321209626
commit 817849ee3c
4 changed files with 2979 additions and 0 deletions

View File

@@ -2,6 +2,14 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# namespace.yaml is owned by noble-bootstrap-root (clusters/noble/bootstrap/kustomization.yaml).
# Do not include it here — two Applications owning the same Namespace causes SharedResourceWarning.
generatorOptions:
disableNameSuffixHash: true
configMapGenerator:
# Mozilla CA bundle (https://curl.se/ca/cacert.pem) — mounted for **-oidc-ca-file** so Headlamps OIDC
# client uses a non-empty PEM pool (avoids spurious “failed to append ca cert to pool” when IdP TLS is public PKI).
- name: headlamp-oidc-ca-bundle
files:
- oidc-ca-bundle.pem=cacert.pem
resources:
- metrics-clusterrolebinding.yaml
- oidc-noble-admins-clusterrolebinding.yaml