summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lau <andrew@andrewklau.com>2016-04-29 16:36:31 +1000
committerAndrew Lau <andrew@andrewklau.com>2016-04-29 16:36:31 +1000
commita02741c2540de0577e58820bd0410d0c99a1b32e (patch)
tree9f8e6432cc72068d8917f3b1e295620a0a932be9
parent930daf5b42987f5f9a1f2ed15793a0d301f8afef (diff)
downloadopenshift-a02741c2540de0577e58820bd0410d0c99a1b32e.tar.gz
openshift-a02741c2540de0577e58820bd0410d0c99a1b32e.tar.bz2
openshift-a02741c2540de0577e58820bd0410d0c99a1b32e.tar.xz
openshift-a02741c2540de0577e58820bd0410d0c99a1b32e.zip
Add openshift_docker_hosted_registry_insecure option
-rw-r--r--playbooks/common/openshift-node/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 264935a63..8a41b0b2f 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -118,7 +118,7 @@
# TODO: configure these based on
# hostvars[groups.oo_first_master.0].openshift.hosted.registry instead of
# hardcoding
- openshift_docker_hosted_registry_insecure: True
+ openshift_docker_hosted_registry_insecure: "{{ openshift.docker.hosted_registry_insecure | default(True) }}"
openshift_docker_hosted_registry_network: "{{ hostvars[groups.oo_first_master.0].openshift.common.portal_net }}"
roles:
- openshift_node
@@ -131,7 +131,7 @@
# TODO: configure these based on
# hostvars[groups.oo_first_master.0].openshift.hosted.registry instead of
# hardcoding
- openshift_docker_hosted_registry_insecure: True
+ openshift_docker_hosted_registry_insecure: "{{ openshift.docker.hosted_registry_insecure | default(True) }}"
openshift_docker_hosted_registry_network: "{{ hostvars[groups.oo_first_master.0].openshift.common.portal_net }}"
roles:
- openshift_node