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

injector: fix secret caching and add test #1137

Merged
merged 1 commit into from
Oct 6, 2020
Merged

Conversation

bonifaido
Copy link
Member

@bonifaido bonifaido commented Oct 6, 2020

Signed-off-by: Nandor Kracser bonifaido@gmail.com

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

What's in this PR?

Add back caching to the secret injector, which got removed during a refactor since 1.4.2.
Also added a test to prevent this from happening again.

Why?

Additional context

Checklist

@bonifaido bonifaido self-assigned this Oct 6, 2020
@bonifaido bonifaido added webhook kind/bug Categorizes issue or PR as related to a bug. labels Oct 6, 2020
Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
@bonifaido bonifaido merged commit 3587cb7 into master Oct 6, 2020
@bonifaido bonifaido deleted the injector-caching-fix branch October 6, 2020 10:51
rrondeau pushed a commit to rrondeau/bank-vaults that referenced this pull request Nov 3, 2020
Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vault-env is injecting secrets from two different calls to the same dynamic credentials endpoint
2 participants