diff options
author | softwarefactory-project-zuul[bot] <33884098+softwarefactory-project-zuul[bot]@users.noreply.github.com> | 2019-11-12 16:34:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-12 16:34:40 +0100 |
commit | c0abb063f91ba5ef5b3b93551c452bebf282b890 (patch) | |
tree | 51d04763b0fd3fde1a5254ac7042b6e934a19aff /installer/roles | |
parent | Merge pull request #5272 from marshmalien/project-manual-subform (diff) | |
parent | update comments for kubernetes ingress (diff) | |
download | awx-c0abb063f91ba5ef5b3b93551c452bebf282b890.tar.xz awx-c0abb063f91ba5ef5b3b93551c452bebf282b890.zip |
Merge pull request #5001 from khawaga/kubernetes_ingress_tls
Kubernetes Ingress TLS support
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
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: |