kubebb / core

A declarative component lifecycle management platform
https://kubebb.github.io/website
Apache License 2.0
8 stars 9 forks source link

feat: componentplan support rollback #284

Closed Abirdcfly closed 1 year ago

Abirdcfly commented 1 year ago

Just need add one label core.kubebb.k8s.com.cn/rollback: "true" to componentplan, then controller will auto rollback to componentplan's revision.

codecov[bot] commented 1 year ago

Codecov Report

Merging #284 (4ff364e) into main (301a284) will decrease coverage by 0.46%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #284      +/-   ##
==========================================
- Coverage   16.13%   15.68%   -0.46%     
==========================================
  Files          36       36              
  Lines        3885     3998     +113     
==========================================
  Hits          627      627              
- Misses       3221     3334     +113     
  Partials       37       37              
Files Changed Coverage Δ
api/v1alpha1/common.go 71.95% <ø> (ø)
api/v1alpha1/componentplan.go 41.42% <0.00%> (-1.86%) :arrow_down:
controllers/componentplan_controller.go 5.52% <0.00%> (-0.65%) :arrow_down:
pkg/helm/cmd.go 0.00% <0.00%> (ø)
pkg/helm/helm.go 5.12% <0.00%> (-0.30%) :arrow_down:
pkg/helm/helm_release_workpool.go 0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more