keikoproj / addon-manager

Manage addons in a Kubernetes cluster
Apache License 2.0
71 stars 25 forks source link

feat: Allow annotation addonmgr.keikoproj.io/retry-count to trigger reconciling #252

Open kevdowney opened 1 year ago

kevdowney commented 1 year ago

Is this a BUG REPORT or FEATURE REQUEST?: FEATURE What happened: Sometimes users may want to retry an addon upgrade N number of times and adding some param in the spec can be done but it's less efficient then just having a specific annotation for this purpose.

What you expected to happen: Add support to allow a specific annotation addonmgr.keikoproj.io/retry-count: 1 to trigger a reconcile, the count here should be >0 (positive) to be valid.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

Other debugging information (if applicable):