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: make secretNeedsMutation check work better for kubernetes.io/dockerconfigjson type secrets #1123

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

bonifaido
Copy link
Member

@bonifaido bonifaido commented Sep 28, 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 #1122
License Apache 2.0

What's in this PR?

Check kubernetes.io/dockerconfigjson type secrets deeper before actual mutation.

Why?

To prevent the construction of unconfigured Vault clients.

Additional context

Checklist

…sonKey

Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
@bonifaido bonifaido changed the title webhook: make secretNeedsMutation check work better for DockerConfigJsonKey webhook: make secretNeedsMutation check work better for kubernetes.io/dockerconfigjson type secrets Sep 28, 2020
@bonifaido bonifaido self-assigned this Sep 28, 2020
@bonifaido bonifaido added webhook kind/bug Categorizes issue or PR as related to a bug. labels Sep 28, 2020
@bonifaido bonifaido merged commit bae4ccc into master Sep 28, 2020
@bonifaido bonifaido deleted the fix-secretNeedsMutation branch September 28, 2020 13:31
rrondeau pushed a commit to rrondeau/bank-vaults that referenced this pull request Nov 3, 2020
…sonKey (bank-vaults#1123)

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.

[webhook] JWT token forces mutation of secret of type dockerconfigjson
1 participant