summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_certificates/README.md
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-05-17 10:24:41 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-05-19 14:54:56 -0400
commitc9cd222f8eab56a31c6ff237739653672c7010af (patch)
tree10a0eea158d4e5360f90ccc65837012a87e9dcf4 /roles/openshift_node_certificates/README.md
parentc78e91c7d4a304cc5d20135e96206008407c5f6f (diff)
downloadopenshift-c9cd222f8eab56a31c6ff237739653672c7010af.tar.gz
openshift-c9cd222f8eab56a31c6ff237739653672c7010af.tar.bz2
openshift-c9cd222f8eab56a31c6ff237739653672c7010af.tar.xz
openshift-c9cd222f8eab56a31c6ff237739653672c7010af.zip
Consolidate ca/master/node certificates roles into openshift_certificates.
Diffstat (limited to 'roles/openshift_node_certificates/README.md')
-rw-r--r--roles/openshift_node_certificates/README.md33
1 files changed, 25 insertions, 8 deletions
diff --git a/roles/openshift_node_certificates/README.md b/roles/openshift_node_certificates/README.md
index 6264d253a..f56066b29 100644
--- a/roles/openshift_node_certificates/README.md
+++ b/roles/openshift_node_certificates/README.md
@@ -1,27 +1,44 @@
-OpenShift/Atomic Enterprise Node Certificates
-=============================================
+OpenShift Node Certificates
+===========================
-TODO
+This role determines if OpenShift node certificates must be created, delegates certificate creation to the `openshift_ca_host` and then deploys those certificates to node hosts which this role is being applied to.
Requirements
------------
-TODO
-
Role Variables
--------------
-TODO
+From `openshift_ca`:
+
+| Name | Default value | Description |
+|-------------------------------------|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
+| openshift_ca_host | None (Required) | The hostname of the system where the OpenShift CA will be (or has been) created. |
+
+From this role:
+
+| Name | Default value | Description |
+|-------------------------------------|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
+| openshift_generated_configs_dir | `{{ openshift.common.config_base }}/generated-configs` | Directory in which per-node generated config directories will be created on the `openshift_ca_host`. |
+| openshift_node_cert_subdir | `node-{{ openshift.common.hostname }}` | Directory within `openshift_generated_configs_dir` where per-node certificates will be placed on the `openshift_ca_host`. |
+| openshift_node_config_dir | `{{ openshift.common.config_base }}/node` | Node configuration directory in which certificates will be deployed on nodes. |
+| openshift_node_generated_config_dir | `{{ openshift_generated_configs_dir }}/{{ openshift_node_cert_subdir }` | Full path to the per-node generated config directory. |
Dependencies
------------
-TODO
+* openshift_ca
Example Playbook
----------------
-TODO
+```
+- name: Create OpenShift Node Certificates
+ hosts: nodes
+ roles:
+ - role: openshift_node_certificates
+ openshift_ca_host: master1.example.com
+```
License
-------