Skip to content

feat(chart)!: derive resource names from the release #248

Closed

Description

@uniqueg

Why?

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

  1. added
    priority: low
    status: on hold
    type flag: breaking change
    type: maintenance
    on Nov 7, 2026
  2. added
    workload: days
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowstatus: on holdtype flag: breaking changetype: maintenanceworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions