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

Fix vault external pillar module for KV v2 #62653

Merged
merged 3 commits into from
Sep 26, 2022

Conversation

lkubb
Copy link
Contributor

@lkubb lkubb commented Sep 12, 2022

What does this PR do?

Fixes vault external pillar module to work for KV v2 the same way as it does for KV v1.

What issues does this PR fix or reference?

Fixes: #62651

Previous Behavior

The compiled pillar would contain {"data": {"foo": "bar"}, "metadata": {...}}

New Behavior

The compiled pillar contains the data only: {"foo": "bar"}

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@lkubb lkubb requested a review from a team as a code owner September 12, 2022 12:22
@lkubb lkubb requested review from twangboy and removed request for a team September 12, 2022 12:22
@lkubb lkubb changed the title Fix vault extpillar v2 Fix vault external pillar module for KV v2 Sep 12, 2022
@lkubb lkubb force-pushed the fix-vault-extpillar-v2 branch from 19c122a to 499c3cc Compare September 22, 2022 15:54
@Ch3LL Ch3LL added the Sulfur v3006.0 release code name and version label Sep 22, 2022
@Ch3LL Ch3LL merged commit 46339d9 into saltstack:master Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sulfur v3006.0 release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] vault ext_pillar does not support KV v2 properly
2 participants