FairwindsOps / pentagon

A framework for building repeatable, containerized, cloud-based infrastructure as code with Kubernetes.
https://www.reactiveops.com
Apache License 2.0
183 stars 25 forks source link

Create mechanism to collapse migrations betwen major versions #192

Open ejether opened 5 years ago

ejether commented 5 years ago

We don't want to carry around every migration ever and we may want to upgrade/improve the migration class in a non-backwards-compatible way.

I suggest we remove all migrations from the previous major version and only carry migrations for the current major version. There will need to be some better logic for 'edge sensing' where, for example, a 2.9 -> 3.0 migration.