Merge pull request #5001 from khawaga/kubernetes_ingress_tls

Kubernetes Ingress TLS support

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-11-12 15:34:40 +00:00
committed by GitHub
2 changed files with 14 additions and 5 deletions

View File

@@ -526,6 +526,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: