diff options
Diffstat (limited to 'installer/roles')
-rw-r--r-- | installer/roles/kubernetes/templates/deployment.yml.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/installer/roles/kubernetes/templates/deployment.yml.j2 b/installer/roles/kubernetes/templates/deployment.yml.j2 index 7b9efc7217..4781d49103 100644 --- a/installer/roles/kubernetes/templates/deployment.yml.j2 +++ b/installer/roles/kubernetes/templates/deployment.yml.j2 @@ -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: |