Minor Changes from Spredzy

This commit is contained in:
cbillett83@outlook.com
2021-03-18 10:58:00 +00:00
parent a65834dbf3
commit 1570c0a883
3 changed files with 5 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ spec:
- urn:alm:descriptor:com.tectonic.ui:select:none
- urn:alm:descriptor:com.tectonic.ui:select:Ingress
- urn:alm:descriptor:com.tectonic.ui:select:Route
- urn:alm:descriptor:com.tectonic.ui:select:Loadbalancer
- urn:alm:descriptor:com.tectonic.ui:select:LoadB alancer
- displayName: Tower Ingress Annotations
path: tower_ingress_annotations
x-descriptors:
@@ -140,11 +140,13 @@ spec:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:select:http
- urn:alm:descriptor:com.tectonic.ui:select:https
- urn:alm:descriptor:com.tectonic.ui:fieldDependency:tower_ingress_type:LoadBalancer
- displayName: Tower LoadBalancer Port
path: tower_loadbalancer_port
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:number
- urn:alm:descriptor:com.tectonic.ui:fieldDependency:tower_ingress_type:LoadBalancer
- displayName: Route DNS host
path: tower_route_host
x-descriptors:

View File

@@ -82,7 +82,7 @@ spec:
- ingress
- Route
- route
- Loadbalancer
- LoadBalancer
- loadbalancer
type: string
tower_loadbalancer_annotations:

View File

@@ -32,7 +32,7 @@ spec:
{% endif %}
selector:
app: '{{ deployment_type }}'
{% if tower_ingress_type == "loadbalancer" %}
{% if tower_ingress_type | lower == "loadbalancer" %}
type: LoadBalancer
{% elif tower_ingress_type != "none" %}
type: NodePort