add support for registry auth to byo generator
@@ -12,7 +12,9 @@ etcd
# - docker_storage = docker isn't running
# - memory_availability = 16 GB is desired
# - package_version = multiple minor versions of packages found in repo
-openshift_disable_check=disk_availability,docker_storage,memory_availability,package_version
+# Added 2017-10-02 - Stefanie
+# - docker_image_availability # registry authentication isn't set up at check time
+openshift_disable_check=disk_availability,docker_storage,memory_availability,package_version,docker_image_availability
ansible_ssh_user=root
deployment_type=openshift-enterprise
openshift_docker_additional_registries=registry.access.redhat.com
@@ -35,6 +37,10 @@ openshift_master_cluster_public_hostname={{ obg_master_public_hostname }}
openshift_master_public_api_url={{ obg_master_public_api_url }}
openshift_master_public_console_url={{ obg_master_public_console_url }}
oreg_url={{ obg_registry_host }}/{{ obg_registry_template }}
+{% if obg_registry_user is defined and obg_registry_token is defined %}
+oreg_auth_user={{ obg_registry_user }}
+oreg_auth_password={{ obg_registry_token }}
+{% endif %}
os_sdn_network_plugin_name={{ obg_inventory_sdn }}
