Allow saltenv/pillarenv override
Some checks failed
ci/lysergic/push/pipeline Pipeline failed

To ease development, allow saltenv=<branch>/pillarenv=<branch> instead
of enforcing the production branch.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-04-30 14:34:02 +02:00
parent 87bb69fa37
commit af3dd436a5
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -21,7 +21,7 @@ salt:
- roots
- git
file_roots:
production:
__env__:
{%- for formula in formulas %}
- /srv/formulas/{{ formula }}-formula
{%- endfor %}
@ -30,6 +30,7 @@ salt:
- https://git.com.de/LibertaCasa/salt.git:
- user: ${'secret_salt:master:gitfs_remotes:LibertaCasa:user'}
- password: ${'secret_salt:master:gitfs_remotes:LibertaCasa:password'}
- fallback: production
ext_pillar:
- netbox:
api_url: ${'secret_salt:master:ext_pillar:netbox:api_url'}
@ -53,7 +54,6 @@ salt:
pillar_merge_lists: True
pillar_source_merging_strategy: smart
top_file_merging_strategy: same
env_order: ['production']
log_level: info
show_jid: True
timeout: 20