Skip to content

[WIP] initialized pillarenv to base if it is none - #67899

Open
sanket925 wants to merge 1 commit into
saltstack:masterfrom
sanket925:sm_rsk_pillar_cache_fix
Open

sanket925 wants to merge 1 commit into
saltstack:masterfrom
sanket925:sm_rsk_pillar_cache_fix

Conversation

@sanket925

Copy link
Copy Markdown

What does this PR do?

What issues does this PR fix or reference?

Fixes

Previous Behavior

Remove this section if not relevant

New Behavior

Remove this section if not relevant

Merge requirements satisfied?

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

Commits signed with GPG?

Yes/No

@sanket925
sanket925 requested a review from a team as a code owner March 20, 2025 07:09
@welcome

welcome Bot commented Mar 20, 2025

Copy link
Copy Markdown

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

@sanket925 sanket925 changed the title initialized pillarenv to base if it is none WIP initialized pillarenv to base if it is none Mar 20, 2025
@mattp-

mattp- commented May 23, 2025

Copy link
Copy Markdown
Contributor

the implicit default when pillarenv is None means it merges all envs together. this would break that

@twangboy twangboy changed the title WIP initialized pillarenv to base if it is none [WIP] initialized pillarenv to base if it is none Jul 1, 2025
@frenkye

frenkye commented Oct 30, 2025

Copy link
Copy Markdown

+1 on this. Since current behavior doesnt make sense. Sure ended up using salt pillarenv_from_saltenv: True and saltenv is by default base this will switch pillars to base as well.

Maybe iam missing some usecase when merging all pillars make sense when env for them is not set, but this is rather confusing behavior for someone who wanted to try this out.

If this doesn't came to merge maybe at least clarification to docs would be helpfull. Describe that None merge all pillarenvs since the behavior isn't explained there.

pillarenv

Default: None
Isolates the pillar environment on the minion side. This functions the same as the environment setting, but for pillar instead of states.

Source: https://docs.saltproject.io/en/latest/ref/configuration/minion.html#pillarenv

@dwoz dwoz added the test:full Run the full test suite label Jun 19, 2026
@dwoz dwoz added this to the Potassium v3009.0 milestone Jun 19, 2026
@dwoz dwoz removed the test:full Run the full test suite label Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants