summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/defaults
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-11-15 05:44:04 -0800
committerGitHub <noreply@github.com>2017-11-15 05:44:04 -0800
commit692d5d6c24c955fbd8982588f2a0b71c88d6a805 (patch)
tree3253b4902dbe29f1f1edb5501760574d9b60f7fe /roles/openshift_node/defaults
parentd4b6e2cf22856069d3956b08ec7feaf73380c2d1 (diff)
parent0de92e0e4c85c876436ae21f61daee31c870705e (diff)
downloadopenshift-692d5d6c24c955fbd8982588f2a0b71c88d6a805.tar.gz
openshift-692d5d6c24c955fbd8982588f2a0b71c88d6a805.tar.bz2
openshift-692d5d6c24c955fbd8982588f2a0b71c88d6a805.tar.xz
openshift-692d5d6c24c955fbd8982588f2a0b71c88d6a805.zip
Merge pull request #6094 from mgugino-upstream-stage/syscontainers-docker-login-module
Automatic merge from submit-queue. Alternative method to create docker registry auth creds Currently, the command 'docker login' is run when using oreg with authentication. On some hosts, such as hosts configured to use system containers, the docker service is not running. 'docker login' will fail without the docker service running. This commit adds a module to idempotently add credentials to the registry credentials file without the use of 'docker login' Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
Diffstat (limited to 'roles/openshift_node/defaults')
-rw-r--r--roles/openshift_node/defaults/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_node/defaults/main.yml b/roles/openshift_node/defaults/main.yml
index 85ad33ad3..89d154ad7 100644
--- a/roles/openshift_node/defaults/main.yml
+++ b/roles/openshift_node/defaults/main.yml
@@ -85,6 +85,7 @@ oreg_host: "{{ oreg_url.split('/')[0] if (oreg_url is defined and '.' in oreg_ur
oreg_auth_credentials_path: "{{ openshift_node_data_dir }}/.docker"
oreg_auth_credentials_replace: False
l_bind_docker_reg_auth: False
+openshift_docker_alternative_creds: "{{ (openshift_docker_use_system_container | default(False)) or (openshift_use_crio_only | default(False)) }}"
# NOTE
# r_openshift_node_*_default may be defined external to this role.