summaryrefslogtreecommitdiffstats
path: root/roles/flannel_register
diff options
context:
space:
mode:
authorSylvain Baubeau <sbaubeau@redhat.com>2015-10-15 14:41:35 +0200
committerSylvain Baubeau <sbaubeau@redhat.com>2015-10-27 17:42:56 +0100
commit2d084a816d4af52f7cffe3ddb913e2b4555b7d23 (patch)
treed12948f8dd7d3f75b90a546efbdc5ebc2de03721 /roles/flannel_register
parentfc9392d0b6bcf80b5dafa03e5f4c2b812cb0a57c (diff)
downloadopenshift-2d084a816d4af52f7cffe3ddb913e2b4555b7d23.tar.gz
openshift-2d084a816d4af52f7cffe3ddb913e2b4555b7d23.tar.bz2
openshift-2d084a816d4af52f7cffe3ddb913e2b4555b7d23.tar.xz
openshift-2d084a816d4af52f7cffe3ddb913e2b4555b7d23.zip
Add flannel modules documentation
Diffstat (limited to 'roles/flannel_register')
-rw-r--r--roles/flannel_register/README.md12
-rw-r--r--roles/flannel_register/meta/main.yml2
2 files changed, 12 insertions, 2 deletions
diff --git a/roles/flannel_register/README.md b/roles/flannel_register/README.md
index a11c8fe53..ba7541ab1 100644
--- a/roles/flannel_register/README.md
+++ b/roles/flannel_register/README.md
@@ -12,7 +12,17 @@ named 'flannel' available via yum, in version superior to 0.3.
Role Variables
--------------
-TODO
+| Name | Default value | Description |
+|---------------------|----------------------------------------------------|-------------------------------------------------|
+| flannel_network | {{ openshift.master.portal_net }} or 172.16.1.1/16 | interface to use for inter-host communication |
+| flannel_min_network | {{ min_network }} or 172.16.5.0 | beginning of IP range for the subnet allocation |
+| flannel_subnet_len | /openshift.com/network | size of the subnet allocated to each host |
+| flannel_etcd_key | /openshift.com/network | etcd prefix |
+| etcd_hosts | etcd_urls | a list of etcd endpoints |
+| etcd_conf_dir | {{ openshift.common.config_base }}/master | SSL certificates directory |
+| etcd_peer_ca_file | {{ etcd_conf_dir }}/ca.crt | SSL CA to use for etcd |
+| etcd_peer_cert_file | {{ etcd_conf_dir }}/master.etcd-client.crt | SSL cert to use for etcd |
+| etcd_peer_key_file | {{ etcd_conf_dir }}/master.etcd-client.key | SSL key to use for etcd |
Dependencies
------------
diff --git a/roles/flannel_register/meta/main.yml b/roles/flannel_register/meta/main.yml
index a64934b3c..73bddcca4 100644
--- a/roles/flannel_register/meta/main.yml
+++ b/roles/flannel_register/meta/main.yml
@@ -1,7 +1,7 @@
---
galaxy_info:
author: Sylvain
- description: etcd management
+ description: register flannel configuration into etcd
company: Red Hat, Inc.
license: Apache License, Version 2.0
min_ansible_version: 1.2