Make the registry_secret_name optional in osbs.conf template

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2018-05-14 15:40:30 +02:00
parent 7b9af8332c
commit 4902cb0c07

View file

@ -73,7 +73,9 @@ use_auth = {{ default.use_auth }}
builder_use_auth = {{ default.builder_use_auth }}
distribution_scope = {{ default.distribution_scope }}
registry_api_versions = {{ default.registry_api_versions }}
{% if default.registry_secret_name %}
registry_secret = {{ default.registry_secret_name }}
{% endif %}
builder_openshift_url = {{ default.builder_openshift_url }}
[scratch]
@ -141,6 +143,8 @@ use_auth = {{ default.use_auth }}
builder_use_auth = {{ default.builder_use_auth }}
distribution_scope = {{ default.distribution_scope }}
registry_api_versions = {{ default.registry_api_versions }}
{% if default.registry_secret_name %}
registry_secret = {{ default.registry_secret_name }}
{% endif %}
builder_openshift_url = {{ default.builder_openshift_url }}
unique_tag_only = true