Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refact(admission): automate deletion of older config #1521

Merged
merged 2 commits into from
Nov 13, 2019

Conversation

shubham14bajpai
Copy link
Contributor

Signed-off-by: shubham [email protected]

What this PR does / why we need it:
This PR automates the deletion of older admission webhook configurations. It also adds version label to new configs to differentiate between old and new configs.
This will require addition of list clusterrole for validatingwebhookconfig.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Checklist:

  • Fixes #
  • Labelled this PR & related issue with documentation tag
  • PR messages has document related information
  • Labelled this PR & related issue with breaking-changes tag
  • PR messages has breaking changes related information
  • Labelled this PR & related issue with requires-upgrade tag
  • PR messages has upgrade related information
  • Commit has unit tests
  • Commit has integration tests

Copy link
Contributor

@prateekpandey14 prateekpandey14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

@mittachaitu mittachaitu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are good

@kmova kmova merged commit e3c650b into openebs-archive:master Nov 13, 2019
@kmova kmova added this to the 1.4.0 milestone Nov 13, 2019
prateekpandey14 pushed a commit to prateekpandey14/maya that referenced this pull request Nov 13, 2019
…#1521)

* refact(admission): automate deletion of older config
* refactored code to use builders

Signed-off-by: shubham <[email protected]>
vishnuitta pushed a commit that referenced this pull request Nov 13, 2019
shubham14bajpai added a commit to shubham14bajpai/maya that referenced this pull request Dec 27, 2019
…#1521)

* refact(admission): automate deletion of older config
* refactored code to use builders

Signed-off-by: shubham <[email protected]>
@shubham14bajpai shubham14bajpai deleted the automate branch January 6, 2020 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants