summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master/templates
diff options
context:
space:
mode:
authorVishal Patil <vishal.patil@nuagenetworks.net>2016-09-26 18:28:07 -0400
committerVishal Patil <vishal.patil@nuagenetworks.net>2016-09-27 15:07:51 -0400
commite9cdb4d014bc20ce680c6019bdaf011f2190114c (patch)
tree4ce88233256054102e5182e228e403fe0849994b /roles/nuage_master/templates
parentd5f9fa24a4e5d44ba5eb8637da5393195f0335c9 (diff)
downloadopenshift-e9cdb4d014bc20ce680c6019bdaf011f2190114c.tar.gz
openshift-e9cdb4d014bc20ce680c6019bdaf011f2190114c.tar.bz2
openshift-e9cdb4d014bc20ce680c6019bdaf011f2190114c.tar.xz
openshift-e9cdb4d014bc20ce680c6019bdaf011f2190114c.zip
Changes for Nuage HA
Diffstat (limited to 'roles/nuage_master/templates')
-rw-r--r--roles/nuage_master/templates/nuage-openshift-monitor.j29
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/nuage_master/templates/nuage-openshift-monitor.j2 b/roles/nuage_master/templates/nuage-openshift-monitor.j2
index 075de9d9e..c663aa0fa 100644
--- a/roles/nuage_master/templates/nuage-openshift-monitor.j2
+++ b/roles/nuage_master/templates/nuage-openshift-monitor.j2
@@ -30,4 +30,11 @@ logLevel: {{ nuage_mon_log_level }}
# Parameters related to the nuage monitor REST server
nuageMonServer:
URL: {{ nuage_mon_rest_server_url }}
- certificateDirectory: {{ cert_output_dir }}
+ certificateDirectory: {{ cert_output_dir }}
+# etcd config required for HA
+etcdClientConfig:
+ ca: {{ etcd_ca_dir }}/{{ "ca.crt" if (openshift.master.embedded_etcd | bool) else "master.etcd-ca.crt" }}
+ certFile: {{ etcd_conf_dir }}/master.etcd-client.crt
+ keyFile: {{ etcd_conf_dir }}/master.etcd-client.key
+ urls:
+ - {{ openshift.common.hostname }}:{{ openshift.master.etcd_port }}