+4
−2
Loading
Stanford GitLab is not approved for High Risk Data and Protected Health Information (PHI). For more information, see FAQ.
Secrets stored in Vault without a `format` field (e.g. legacy entries
created before the format convention was adopted) caused gomplate to
panic with "map has no entry for key format", silently writing an empty
Kubernetes Secret to the cluster.
Use `coll.Has` to check for the key before accessing it, falling back to
"text" when absent. Behaviour is unchanged for secrets that already carry
a `format` field.
Changelog: fix
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>