summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-06-12 14:09:36 -0700
committerJhon Honce <jhonce@redhat.com>2015-06-12 14:09:36 -0700
commitffb8bbe2fd6b85ab0f2c108292034931edae1747 (patch)
tree6f2aa57ffdfceee3e7170d0648fce9979c6a2f91 /roles/openshift_facts/library
parent42806b6745c747843b71eaf08b62aeee5e450ab1 (diff)
parentccf7dfedb636c2fc7392f1c2ec1f1d06f0d0c5b5 (diff)
downloadopenshift-ffb8bbe2fd6b85ab0f2c108292034931edae1747.tar.gz
openshift-ffb8bbe2fd6b85ab0f2c108292034931edae1747.tar.bz2
openshift-ffb8bbe2fd6b85ab0f2c108292034931edae1747.tar.xz
openshift-ffb8bbe2fd6b85ab0f2c108292034931edae1747.zip
Merge pull request #281 from jwhonce/wip/insecure_registry
Infrastructure - Set OpenShift Registry
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index e4d3bf26f..cb67a13de 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -705,7 +705,7 @@ class OpenShiftFacts(object):
defaults['master'] = master
if 'node' in roles:
- node = dict(pod_cidr='', labels={}, annotations={})
+ node = dict(pod_cidr='', labels={}, annotations={}, portal_net='172.30.0.0/16')
node['resources_cpu'] = self.system_facts['processor_cores']
node['resources_memory'] = int(
int(self.system_facts['memtotal_mb']) * 1024 * 1024 * 0.75