Open smitthakkar96 opened 8 months ago
@Saranya-jena @namkyu1999 @vanshBhatia-A4k9 @SarthakJain26 wdyt?
We should not mandate the upgrade of infra for every chaos-center upgrade. It should only be mandated if the infra is not compatible with the installed chaos-center.
Context
While upgrading from
v3.0.0
tov3.1.0
, we encountered an error that resulted in our Chaos Infra becoming inactive until the Infra version was upgraded. In environments with numerous clusters and namespaces, teams may opt for a phased rollout of Infra components across clusters, akin to a canary deployment. However, this approach is currently not feasible due to the validation of the infra version by theinfraConnect
endpoint, which relies solely on the VERSION specified in the litmus-portal-admin-config.Error
Proposal
Use
INFRA_COMPATIBLE_VERSIONS
env var, which contains a list of compatible versions over usingVERSION
ininfraConnect
endpoint to validate if infra version is compatible.