diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2016-02-09 23:10:22 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2016-02-09 23:15:55 -0500 |
commit | 3e80073b3b9052bedda3850c7844bef50f489ef0 (patch) | |
tree | 1e516b4a0dc777bc15606e50505fd60f3b7e5cc1 /roles/openshift_master/templates | |
parent | 39fc2154a5ba751b1a1550486fe33943019e8528 (diff) | |
download | openshift-3e80073b3b9052bedda3850c7844bef50f489ef0.tar.gz openshift-3e80073b3b9052bedda3850c7844bef50f489ef0.tar.bz2 openshift-3e80073b3b9052bedda3850c7844bef50f489ef0.tar.xz openshift-3e80073b3b9052bedda3850c7844bef50f489ef0.zip |
Add gte check for 3.2, update version checks to gte
Diffstat (limited to 'roles/openshift_master/templates')
-rw-r--r-- | roles/openshift_master/templates/master.yaml.v1.j2 | 4 | ||||
-rw-r--r-- | roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.service.j2 | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2 index 1eeab46fe..813a58d60 100644 --- a/roles/openshift_master/templates/master.yaml.v1.j2 +++ b/roles/openshift_master/templates/master.yaml.v1.j2 @@ -1,5 +1,5 @@ apiLevels: -{% if not openshift.common.version_greater_than_3_1_or_1_1 | bool %} +{% if not openshift.common.version_gte_3_1_or_1_1 | bool %} - v1beta3 {% endif %} - v1 @@ -91,7 +91,7 @@ kubeletClientInfo: port: 10250 {% if openshift.master.embedded_kube | bool %} kubernetesMasterConfig: -{% if not openshift.common.version_greater_than_3_1_or_1_1 | bool %} +{% if not openshift.common.version_gte_3_1_or_1_1 | bool %} apiLevels: - v1beta3 - v1 diff --git a/roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.service.j2 b/roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.service.j2 index e6e97b24f..b393bb9ff 100644 --- a/roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.service.j2 +++ b/roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.service.j2 @@ -7,7 +7,7 @@ Before={{ openshift.common.service_type }}-node.service Requires=network.target [Service] -{% if openshift.common.version_greater_than_3_1_1_or_1_1_1 | bool %} +{% if openshift.common.version_gte_3_1_1_or_1_1_1 | bool %} Type=notify {% else %} Type=simple |