From ab87a4f5ab363909103560e15c27b17fb9790793 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Fri, 28 Jun 2024 22:16:53 -0800 Subject: [PATCH] use cert --- charts/fp/templates/echo.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/fp/templates/echo.yaml b/charts/fp/templates/echo.yaml index 5231cf7..7c1d6c9 100644 --- a/charts/fp/templates/echo.yaml +++ b/charts/fp/templates/echo.yaml @@ -31,6 +31,7 @@ metadata: {{ if eq .Values.environment "development" }} chisel-operator.io/exit-node-name: "echo-exit-node" {{ end }} + cert-manager.io/cluster-issuer: "{{ .Values.certManager.issuer }}" spec: selector: app: echo @@ -50,7 +51,9 @@ metadata: spec: entryPoints: - web - + - websecure + tls: + secretName: echo-cert routes: - match: Host(`echo.fp.sbtp.xyz`) || PathPrefix(`/extra/echo`) kind: Rule