summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-07-28 23:06:07 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-07-28 23:06:07 -0400
commite944b14f3dd9ec0f97e74109a6dcbd019192c958 (patch)
tree9e4b8a016a0a9e1c22845ed1e764568fe06eb0aa /roles/openshift_master
parent8cc43c50d6aae70522c72396512ec52359cf236b (diff)
downloadopenshift-e944b14f3dd9ec0f97e74109a6dcbd019192c958.tar.gz
openshift-e944b14f3dd9ec0f97e74109a6dcbd019192c958.tar.bz2
openshift-e944b14f3dd9ec0f97e74109a6dcbd019192c958.tar.xz
openshift-e944b14f3dd9ec0f97e74109a6dcbd019192c958.zip
Add support for setting routingConfig:subdomain
Diffstat (limited to 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/main.yml1
-rw-r--r--roles/openshift_master/templates/master.yaml.v1.j22
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 057daabf9..8d6c02e7f 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -53,6 +53,7 @@
oauth_grant_method: "{{ openshift_master_oauth_grant_method | default(None) }}"
sdn_cluster_network_cidr: "{{ osm_cluster_network_cidr | default(None) }}"
sdn_host_subnet_length: "{{ osm_host_subnet_length | default(None) }}"
+ default_subdomain: "{{ osm_default_subdomain | default(None) }}"
# TODO: These values need to be configurable
- name: Set dns OpenShift facts
diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2
index 5e46f8f69..01c0ea7e4 100644
--- a/roles/openshift_master/templates/master.yaml.v1.j2
+++ b/roles/openshift_master/templates/master.yaml.v1.j2
@@ -101,7 +101,7 @@ projectConfig:
mcsLabelsPerProject: 5
uidAllocatorRange: 1000000000-1999999999/10000
routingConfig:
- subdomain: router.default.local
+ subdomain: "{{ openshift.master.default_subdomain | default("") }}"
serviceAccountConfig:
managedNames:
- default