Skip to content

Fix vault external pillar module for KV v2#62653

Merged
Ch3LL merged 3 commits into
saltstack:masterfrom
lkubb:fix-vault-extpillar-v2
Sep 26, 2022
Merged

Fix vault external pillar module for KV v2#62653
Ch3LL merged 3 commits into
saltstack:masterfrom
lkubb:fix-vault-extpillar-v2

Conversation

@lkubb

@lkubb lkubb commented Sep 12, 2022

Copy link
Copy Markdown
Contributor

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