eks-anywhere
eks-anywhere copied to clipboard
Make Bundles name in dev similar to staging in production
What would you like to be added:
When generating dev Bundles, always increase the number in the name: bundles-2 -> bundles-3...
Why is this needed:
While debugging some of the e2e tests, we discovered that the Bundles object in dev (including main and release branches) always has the name bundles-1. That differs from staging and prod where each bundle has a monotonically increasing integer: bundles-2 -> bundles-3...
This made validations like https://github.com/aws/eks-anywhere/pull/3346 difficult to write. Making dev Bundles have a naming scheme similar to the one for prod would allow us to have shared code for those validations as well and reducing the differences between how prod and dev work.