From f59bc33039a902b1b79b156cfb521b16821339da Mon Sep 17 00:00:00 2001 From: gitea-admin Date: Sun, 17 May 2026 13:48:53 +0000 Subject: [PATCH] fix: add TLS certificate to whoami ingress --- deployments/whoami/ingress.yaml | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/deployments/whoami/ingress.yaml b/deployments/whoami/ingress.yaml index abb6a39..dbbacab 100644 --- a/deployments/whoami/ingress.yaml +++ b/deployments/whoami/ingress.yaml @@ -3,16 +3,24 @@ kind: Ingress metadata: name: whoami namespace: apps + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + traefik.ingress.kubernetes.io/router.entrypoints: web,websecure + traefik.ingress.kubernetes.io/router.tls: "true" spec: ingressClassName: traefik + tls: + - hosts: + - whoami.khalisio.com + secretName: whoami-tls rules: - - host: whoami.khalisio.com - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: whoami - port: - name: http + - host: whoami.khalisio.com + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: whoami + port: + number: 80 -- 2.52.0