From 4fc3df552deba7ce1015c902e821388f061a3032 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Wed, 25 Aug 2021 02:26:11 +0700 Subject: [PATCH] Enable TLS for tekton dashboard --- applications/tekton-pipelines/ingress.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/applications/tekton-pipelines/ingress.yaml b/applications/tekton-pipelines/ingress.yaml index 6cfa3072..93abc135 100644 --- a/applications/tekton-pipelines/ingress.yaml +++ b/applications/tekton-pipelines/ingress.yaml @@ -3,6 +3,8 @@ kind: Ingress metadata: name: tekton-dashboard namespace: tekton-pipelines + labels: + cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer" spec: rules: - host: tekton.khuedoan.com @@ -13,4 +15,8 @@ spec: service: name: tekton-dashboard port: - number: 9097 + name: http + tls: + - hosts: + - tekton.khuedoan.com + secretName: tekton-tls-certificate