Skip to main content

Module traefik_tlsstore

Module traefik_tlsstore 

Source
Expand description

Embeds the kustomization that wires Traefik’s default certificate to caproni’s dev CA, through a TLSStore naming the wildcard certificate Secret that the dev-CA kustomization’s Certificate produces.

Ported from internal/infra/assets/traefik-tlsstore/assets.go and tlsstore_overlay_test.go. See crate::dev_ca’s module doc for the //go:embed porting decision this module shares.

It is a separate module from the dev-CA one because a kustomization is applied atomically: this resource needs the Traefik CRDs to be installed, while the dev-CA resources need cert-manager’s and trust-manager’s. Splitting them lets each be ordered after its own prerequisite, and lets a cluster running a non-Traefik ingress controller drop this one without losing the dev CA.

Constants§

FILES
Ported from the //go:embed *.yaml directive on traefiktlsstore.FS.

Functions§

write_files
Ported from assetstest.WriteFS, specialized to FILES. See crate::dev_ca::write_files for the porting rationale.