From 39f6d3427652216e329b8ad559261f802269fc73 Mon Sep 17 00:00:00 2001 From: rohow Date: Mon, 20 Apr 2026 20:18:00 +0800 Subject: [PATCH] feat(ingress): add TLS configuration for dev.cm and www.dev.cm hosts --- flux/apps/ingress-halo-static.yaml | 3 +++ flux/apps/ingress-halo-www.yaml | 3 +++ flux/clusters/base/infra-gitops.yaml | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/flux/apps/ingress-halo-static.yaml b/flux/apps/ingress-halo-static.yaml index c3099a5..1766567 100644 --- a/flux/apps/ingress-halo-static.yaml +++ b/flux/apps/ingress-halo-static.yaml @@ -17,6 +17,9 @@ metadata: add_header X-Cache-Status $upstream_cache_status; spec: ingressClassName: nginx + tls: + - hosts: + - dev.cm rules: - host: dev.cm http: diff --git a/flux/apps/ingress-halo-www.yaml b/flux/apps/ingress-halo-www.yaml index ab64664..162a29c 100644 --- a/flux/apps/ingress-halo-www.yaml +++ b/flux/apps/ingress-halo-www.yaml @@ -9,6 +9,9 @@ metadata: rewrite ^/(.*)$ https://dev.cm/$1 permanent; spec: ingressClassName: nginx + tls: + - hosts: + - www.dev.cm rules: - host: www.dev.cm http: diff --git a/flux/clusters/base/infra-gitops.yaml b/flux/clusters/base/infra-gitops.yaml index 4d2ba5b..259d800 100644 --- a/flux/clusters/base/infra-gitops.yaml +++ b/flux/clusters/base/infra-gitops.yaml @@ -27,7 +27,6 @@ spec: interval: 30m timeout: 15m retryInterval: 1m - suspend: true sourceRef: kind: GitRepository name: flux