mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 22:02:53 +00:00
use ClusterIP service when ingress type is Ingress
This commit is contained in:
@@ -44,6 +44,8 @@ spec:
|
|||||||
app.kubernetes.io/component: awx
|
app.kubernetes.io/component: awx
|
||||||
{% if tower_ingress_type | lower == "loadbalancer" %}
|
{% if tower_ingress_type | lower == "loadbalancer" %}
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
{% elif tower_ingress_type | lower == "ingress" %}
|
||||||
|
type: ClusterIP
|
||||||
{% elif tower_ingress_type != "none" %}
|
{% elif tower_ingress_type != "none" %}
|
||||||
type: NodePort
|
type: NodePort
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user