Split bind-external DNSRecords into one file per record #500
Reference in New Issue
Block a user
Delete Branch "benvin/split-bind-external-records"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A single records.yaml holding every DNSRecord means any record change touches a shared file, and deleting one record is a hunk edit rather than a file removal. One file per record under //.yaml makes each record independently editable and removable.
Rendered output is unchanged.
nit:
apps/base/bind-external/acme-unkin-net/ns/kustomization.yaml,.../a/kustomization.yaml— the per-type level holds one record each, so it costs 3 kustomizations for 2 records and restatesspec.type→ flatten toacme-unkin-net/{apex-ns,ns1-a}.yamlunder the single zone kustomization.