Skip to content

Commit

Permalink
salt: add proxy none to metalk8s repositories
Browse files Browse the repository at this point in the history
We need to disable proxy usage on metalk8s
internal repositories, otherwise we can't reach
them if any http(s)_proxy variable is set.

Refs: #2052
  • Loading branch information
alexandre-allard committed Dec 18, 2019
1 parent 28416a9 commit 229e41a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions salt/metalk8s/repo/redhat.sls
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ Configure {{ repo_name }} repository:
{%- endif %}
- repo_gpg_check: {{ repo_config.repo_gpg_check }}
- enabled: {{ repo_config.enabled }}
# URL to the proxy server for this repository.
# Set to '_none_' to disable the global proxy setting
# for this repository.
- proxy: _none_
- refresh: false
- onchanges_in:
- cmd: Refresh yum cache
Expand Down

0 comments on commit 229e41a

Please sign in to comment.