Description
Before the bugfix for #62651 the behavior of ext_pillar for vault KV v2 was having the data under "data" key. Since that was the case I had all my code set up pointing to pillar['data'] and looked at it as a feature.
After the fix in #62653 , the behavior is changed and pillars are not under 'data' key anymore which causes my salt state code to be broken and I cannot upgrade to newer versions unless I do a massive refactoring on my codebase.
My suggestion is adding a configuration directive to enable previous behavior of having the 'data' key back.
Setup
[...]
ext_pillar:
- vault: path=salt/pillar/path
[...]
Steps to Reproduce the behavior
salt 'minion1' pillar.items
centos51:
----------
secrets:
----------
key1:
----------
key2:
----------
Expected behavior
salt 'minion1' pillar.items
centos51:
----------
data:
----------
secrets:
----------
key1:
----------
key2:
----------
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Additional context
Add any other context about the problem here.
Description
Before the bugfix for #62651 the behavior of ext_pillar for vault KV v2 was having the data under "data" key. Since that was the case I had all my code set up pointing to pillar['data'] and looked at it as a feature.
After the fix in #62653 , the behavior is changed and pillars are not under 'data' key anymore which causes my salt state code to be broken and I cannot upgrade to newer versions unless I do a massive refactoring on my codebase.
My suggestion is adding a configuration directive to enable previous behavior of having the 'data' key back.
Setup
[...]
ext_pillar:
[...]
Steps to Reproduce the behavior
salt 'minion1' pillar.items
centos51:
----------
secrets:
----------
key1:
----------
key2:
----------
Expected behavior
salt 'minion1' pillar.items
centos51:
----------
data:
----------
secrets:
----------
key1:
----------
key2:
----------
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)PASTE HEREAdditional context
Add any other context about the problem here.