# TLS + client-CA material (task 46). EXAMPLE ONLY — not in kustomization. # # The Deployment mounts the `d-oauth-tls` Secret read-only at `/certs`. # Provision it with cert-manager (preferred) or create it by hand: # # kubectl create secret generic d-oauth-tls -n d-oauth \ # --from-file=tls.crt=./tls.crt \ # --from-file=tls.key=./tls.key \ # --from-file=client-ca.crt=./client-ca.crt # # `client-ca.crt` is REQUIRED while `D_OAUTH_TLS__CLIENT_CA_PATH` is set in # the ConfigMap (in-process mTLS verification). Omit the file AND unset the # env key together if mTLS is not used. Never bake this material into the # image; `scripts/check_manifests.py` fails on PEM blocks inside manifests. # --- # apiVersion: v1 # kind: Secret # metadata: # name: d-oauth-tls # namespace: d-oauth # type: kubernetes.io/tls # stringData: # tls.crt: "" # tls.key: "" # client-ca.crt: ""