-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
salt: Add execution module to retrieve value from
map.jinja
In salt we have a function `jinja.load_map` that retrieve a specific value from a map.jinja (same as what we do in salt SLS) but this function does not support saltenv Add a new function to retrieve information from `map.jinja` in MetalK8s context, so hardcoded map.jinja path and retrieving saltenv from version stored in the pillar Sees: saltstack/salt#59300 Cherry-picked from: 21a1cfa
- Loading branch information
1 parent
7bef410
commit 0571ba8
Showing
2 changed files
with
108 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters