summaryrefslogtreecommitdiffstats
path: root/roles/contiv/templates/contiv.cfg.master.j2
diff options
context:
space:
mode:
authorSanjeev Rampal <srampal@cisco.com>2017-07-27 19:28:46 -0700
committerSanjeev Rampal <srampal@cisco.com>2017-07-27 20:15:50 -0700
commitb71f2782028ce7cf56614780a87faca31b9e42ac (patch)
tree89ebb95090a39db84051d44265ee070b0780136d /roles/contiv/templates/contiv.cfg.master.j2
parent1cd89648269a483d464caef3f700b10cf68ea1c4 (diff)
downloadopenshift-b71f2782028ce7cf56614780a87faca31b9e42ac.tar.gz
openshift-b71f2782028ce7cf56614780a87faca31b9e42ac.tar.bz2
openshift-b71f2782028ce7cf56614780a87faca31b9e42ac.tar.xz
openshift-b71f2782028ce7cf56614780a87faca31b9e42ac.zip
Fixes for auth_proxy, vxlan mode
Diffstat (limited to 'roles/contiv/templates/contiv.cfg.master.j2')
-rw-r--r--roles/contiv/templates/contiv.cfg.master.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/contiv/templates/contiv.cfg.master.j2 b/roles/contiv/templates/contiv.cfg.master.j2
new file mode 100644
index 000000000..fac8e3c4c
--- /dev/null
+++ b/roles/contiv/templates/contiv.cfg.master.j2
@@ -0,0 +1,7 @@
+{
+ "K8S_API_SERVER": "https://{{ hostvars[groups['masters'][0]]['ansible_' + netmaster_interface].ipv4.address }}:{{ kube_master_api_port }}",
+ "K8S_CA": "{{ openshift.common.config_base }}/master/ca.crt",
+ "K8S_KEY": "{{ openshift.common.config_base }}/master/system:node:{{ openshift.common.hostname }}.key",
+ "K8S_CERT": "{{ openshift.common.config_base }}/master/system:node:{{ openshift.common.hostname }}.crt",
+ "SVC_SUBNET": "172.30.0.0/16"
+}