mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 18:17:47 +03:00
Offline deployment: PyPi repo (#3542)
This commit is contained in:
committed by
k8s-ci-robot
parent
4f12ba00d1
commit
79bf74e90f
@@ -454,3 +454,13 @@ etcd_snapshot_count: "10000"
|
||||
|
||||
certificates_key_size: 2048
|
||||
certificates_duration: 36500
|
||||
|
||||
pip_extra_args: |-
|
||||
{%- set pip_extra_args_list = [] -%}
|
||||
{%- if pyrepo_index is defined -%}
|
||||
{%- set DO = pip_extra_args_list.append('--index-url %s' | format(pyrepo_index)) -%}
|
||||
{%- if pyrepo_cert is defined -%}
|
||||
{%- set DO = pip_extra_args_list.append('--cert %s' | format(pyrepo_cert)) -%}
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{{ pip_extra_args_list|join(' ') }}
|
||||
|
||||
Reference in New Issue
Block a user