Skip to content

managing rolloutRestartTargets with dynamic/changing names #965

Open
@ninjaDave333

Description

@ninjaDave333

Is your feature request related to a problem? Please describe.
each time we update a deployment or configmap its name is being updated, we add the update number to its name, for example:

rolloutRestartTargets:
  - kind: Deployment
    name: mydeploy-00014-deployment

this is making it impossible to add these deployments to the "rolloutRestartTargets"

Describe the solution you'd like
i would like to:

  • have the option to add a wildcard to the name like: mydeploy-*-deployment
  • have an alternate way to mark specific deployments/configmaps/etc for rollout somehow, mybe via tags or labels.

Describe alternatives you've considered
I understand that reloader can automatically trigger restarts/rollouts by watching labels.

Additional context
i would like to keep using the official Hashicorp operator, and cannot change my convention of deployment names.

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions