mirror of
https://github.com/ansible/awx.git
synced 2026-04-26 20:25:24 -02:30
add variable to set tls secret for kubernetes ingress
Signed-off-by: Khaled Elkhawaga <k.elkhawaga@gmail.com>
This commit is contained in:
@@ -433,6 +433,12 @@ metadata:
|
||||
{% endfor %}
|
||||
|
||||
spec:
|
||||
{% if kubernetes_ingress_tls_secret is defined %}
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ kubernetes_ingress_hostname }}
|
||||
secretName: {{ kubernetes_ingress_tls_secret }}
|
||||
{% endif %}
|
||||
rules:
|
||||
- host: {{ kubernetes_ingress_hostname }}
|
||||
http:
|
||||
|
||||
Reference in New Issue
Block a user