Files
cozystack/cmd
Andrei Kvapil 9e7c684fe2 feat(api): add the CredentialTemplate kind
An application write in the Cozystack API that kept an account list, its
Secrets and the HelmRelease in step needed a cross-replica lock and
still raced. The accepted design (cozystack/community#137) moves the
account list to the chart instead: a kind's chart renders one
cozystack.io CredentialTemplate per account, naming the user, the stored
format and the Secret's labels, and its status mirrors the account
Secret's record so the Credential view reads templates only.

Tenants cannot write a template, and username is immutable because the
account Secret's name derives from it. valuesPath starts with "_" so the
Application API hides it on read and refuses it on write.

Design: https://github.com/cozystack/community/blob/main/design-proposals/user-secrets-api/README.md

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-11-24 23:06:02 +01:00
..
2026-02-04 15:50:23 +03:00