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

webhook: annotations to control agent and env images #1163

Merged

Conversation

michael-todorovic
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
API breaks? no
Deprecations? no
Related tickets
License Apache 2.0

What's in this PR?

This PR adds 4 new annotations so we can alter the images for vault agent and vault-env at pod level.

Why?

This is useful when you need to test new images without breaking everything or deploy a whole new environment. This can be useful when you have multiple vaults with different versions, depending on the team. It can be useful if team A has vault v2 with a breaking change from v1 but team B has still vault v1.

Checklist

  • Code meets the Developer Guide
  • User guide and development docs updated (if needed)
  • Related Helm chart(s) updated (if needed)

To Do

Copy link
Member

@bonifaido bonifaido left a comment

Choose a reason for hiding this comment

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

LGTM, thank you! Just the policy imagePullPolicy default values shouldn't be hardcoded.

Copy link
Member

@bonifaido bonifaido left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @michael-todorovic

@bonifaido bonifaido merged commit fe62ec5 into bank-vaults:master Oct 29, 2020
@bonifaido bonifaido changed the title feat: annotations to control agent and env images webhook: annotations to control agent and env images Oct 29, 2020
rrondeau pushed a commit to rrondeau/bank-vaults that referenced this pull request Nov 3, 2020
* feat: annotations to control agent and env images

* fix: get back default values with viper
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.

None yet

2 participants