1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-09 03:09:50 +00:00
Files
steve/pkg/sqlcache/db
Eric Promislow 5f08feeb5f Reset db more selectively: approach #2 (#745)
* On Reset, remove all the sqlite files, not just the main one.

* Avoid resetting the database and cache when not needed.

Avoid resetting when a change doesn't bring in new schema fields.

Always reset when a CRD is deleted.

* Force a database reset when a new CRD is added.

* Improve code readability. No functional change.
2025-07-31 10:43:55 -07:00
..