You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(chart)!: derive resource names from the release #248
Part of #228. Resource names are fixed (tesk-api Service and Deployment, taskmaster ServiceAccount, Role and RoleBinding, service-info-config, oauth-client-secret, ftp-secret, aws-secret, ingress-rules, the Route tesk-svc, the StorageClass gold), so two releases can't share a namespace, and the selectors use only app: tesk-api instead of the standard selector labels.
Deriving the names from the release name renames these objects, and adding labels to selectors makes helm upgrade fail (selectors are immutable). Both are breaking changes, so they need a release of their own, with migration notes.
Needs a maintainer decision on timing.
How?
Derive resource names from the release (tesk.fullname, with nameOverride and fullnameOverride), including the names that tesk-api passes to the taskmasters (service account, secrets).
Standard selector labels (app.kubernetes.io/name, app.kubernetes.io/instance) on the Deployment and Service.
Migration notes: how to move an existing release (e.g., uninstall and reinstall, or delete the Deployment with --cascade=orphan before the upgrade), and what happens to running tasks and secrets referenced by name.
Remove the deprecated snake_case keys of the non-breaking part in the same release.
Acceptance criteria
Two releases can be installed in one namespace.
Upgrade notes describe the migration of an existing release.
Activity