mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Do not set default hostname for ingress
This commit is contained in:
@@ -53,7 +53,7 @@ route_tls_secret: ''
|
||||
#
|
||||
route_host: ''
|
||||
|
||||
hostname: '{{ ansible_operator_meta.name }}.example.com'
|
||||
hostname: ''
|
||||
|
||||
# Add a nodeSelector for the AWX pods. It must match a node's labels for the pod
|
||||
# to be scheduled on that node. Specify as literal block. E.g.:
|
||||
|
||||
@@ -17,8 +17,7 @@ metadata:
|
||||
{% endif %}
|
||||
spec:
|
||||
rules:
|
||||
- host: '{{ hostname }}'
|
||||
http:
|
||||
- http:
|
||||
paths:
|
||||
- path: '{{ ingress_path }}'
|
||||
pathType: Prefix
|
||||
@@ -27,6 +26,9 @@ spec:
|
||||
name: '{{ ansible_operator_meta.name }}-service'
|
||||
port:
|
||||
number: 80
|
||||
{% if hostname %}
|
||||
host: {{ hostname }}
|
||||
{% endif %}
|
||||
{% if ingress_tls_secret %}
|
||||
tls:
|
||||
- hosts:
|
||||
|
||||
Reference in New Issue
Block a user