Merge pull request #204 from TheStally/devel

Set Service to use type ClusterIP instead of NodePort when tower_ingress_type is Ingress
This commit is contained in:
Marcelo Moreira de Mello
2021-04-25 21:59:25 -04:00
committed by GitHub
7 changed files with 30 additions and 2 deletions

View File

@@ -44,6 +44,8 @@ spec:
app.kubernetes.io/component: awx
{% if tower_ingress_type | lower == "loadbalancer" %}
type: LoadBalancer
{% elif tower_ingress_type != "none" %}
{% elif tower_ingress_type | lower == "nodeport" %}
type: NodePort
{% else %}
type: ClusterIP
{% endif %}