Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

fix(release): change release cleanup to only remove secrets related to Deployments that are no longer active#1038

Merged
helgi merged 1 commit intodeis:masterfrom
helgi:better_cleanup
Sep 2, 2016
Merged

fix(release): change release cleanup to only remove secrets related to Deployments that are no longer active#1038
helgi merged 1 commit intodeis:masterfrom
helgi:better_cleanup

Conversation

@helgi
Copy link
Copy Markdown
Contributor

@helgi helgi commented Sep 2, 2016

Before the cleanup process and Release::delete were removing RCs and env secrets related to all but current releases, this can (and has) gotten all screwy in the logic due to how RC and Deployment cleanup ended up being merged instead of being previously separate.

Now the process it so cleanup non-latest RCs (just as a safety thing), and only remove secrets that are not associated to a specific ReplicaSet

@helgi helgi added this to the v2.5 milestone Sep 2, 2016
@helgi helgi self-assigned this Sep 2, 2016
@deis-bot
Copy link
Copy Markdown

deis-bot commented Sep 2, 2016

@kmala, @bacongobbler and @mboersma are potential reviewers of this pull request based on my analysis of git blame information. Thanks @helgi!

@codecov-io
Copy link
Copy Markdown

codecov-io commented Sep 2, 2016

Current coverage is 87.20% (diff: 25.00%)

Merging #1038 into master will increase coverage by 0.10%

@@             master      #1038   diff @@
==========================================
  Files            42         42          
  Lines          3573       3540    -33   
  Methods           0          0          
  Messages          0          0          
  Branches        603        597     -6   
==========================================
- Hits           3112       3087    -25   
+ Misses          301        295     -6   
+ Partials        160        158     -2   

Powered by Codecov. Last update ad7fc55...0a0b651

…o Deployments that are no longer active

Before the cleanup proceess and Release::delete were removing RCs and env secrets related to all but current releases, this can (and has) gotten all screwy in the logic due to how RC and Deployment cleanup ended up being merged instead of being previously separate.

Now the process it so cleanup non-latest RCs (just as a safety thing), and only remove secrets that are not associated to a specific ReplicaSet
@helgi helgi merged commit a303f25 into deis:master Sep 2, 2016
@helgi helgi deleted the better_cleanup branch September 2, 2016 22:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants