commit 7bd8f25a6f4b4542b796430dbc0c74471a85851a parent 0937fd81079f3bf2b05385f2d825d7e9497c58dd Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 28 Sep 2024 20:10:43 +0200 Meow Diffstat:
| D | apps/base/apisix/ingresses.yaml | | | 25 | ------------------------- |
| M | apps/base/apisix/kustomization.yaml | | | 1 | - |
| M | apps/base/apisix/release.yaml | | | 13 | +++++++++++++ |
3 files changed, 13 insertions(+), 26 deletions(-)
diff --git a/apps/base/apisix/ingresses.yaml b/apps/base/apisix/ingresses.yaml @@ -1,25 +0,0 @@ -# Redirect testing.midnightthoughts.space to "apisix-gateway" service in the apisix namespace -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: apisix-midnightthoughts-space - namespace: apisix - annotations: - cert-manager.io/cluster-issuer: letsencrypt-dns - external-dns.alpha.kubernetes.io/hostname: midnightthoughts.space -spec: - rules: - - host: testing.midnightthoughts.space - http: - paths: - - pathType: Prefix - path: "/" - backend: - service: - name: apisix-gateway - port: - number: 80 - tls: - - hosts: - - testing.midnightthoughts.space - secretName: midnightthoughts-space-tls diff --git a/apps/base/apisix/kustomization.yaml b/apps/base/apisix/kustomization.yaml @@ -4,4 +4,3 @@ namespace: apisix resources: - repository.yaml - release.yaml - - ingresses.yaml diff --git a/apps/base/apisix/release.yaml b/apps/base/apisix/release.yaml @@ -28,6 +28,19 @@ spec: metrics: serviceMonitor: enabled: true + ingress: + enabled: true + annotations: + cert-manager.io/cluster-issuer: letsencrypt-dns + external-dns.alpha.kubernetes.io/hostname: midnightthoughts.space + hosts: + - host: testing.midnightthoughts.space + paths: + - / + tls: + - secretName: testing-midnightthoughts-space-tls + hosts: + - testing.midnightthoughts.space dashboard: enabled: true ingress: