addon-manager
addon-manager copied to clipboard
feat: Allow annotation addonmgr.keikoproj.io/retry-count to trigger reconciling
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:
- Addon Manager version
- Kubernetes version :
$ kubectl version -o yaml
Other debugging information (if applicable):
- Addon status:
$ kubectl describe addon <addon-name>
- controller logs:
$ kubectl logs <addon-manager-pod>