Skip to content

[BUG] restart rollout-strategy doesn't do anything #1069

@AlexandreFigueired0

Description

@AlexandreFigueired0

Describe the bug
While testing the different values for rollout-strategy annotation ("rollout" and "restart"), the "restart" value presented the same behaviour as the default "rollout".

To Reproduce
Add the annotation reloader.stakater.com/rollout-strategy: "restart" to your workload metadata. Trigger reloads and, on the running workload, verify that the pod template of your workload was modified, according to the strategy you set with --reload-strategy

Expected behavior
With the rollout-strategy annotation set to "restart", I would expect a restart of the workload without any internal configuration (yaml) change.

Environment

  • Kubernetes/OpenShift Version: v1.34.2

Metadata

Metadata

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions