fixup! feat: envoy-gateway

This commit is contained in:
auricom
2025-06-20 01:29:25 +02:00
parent 96bbc04020
commit 57a7f62cc1
11 changed files with 68 additions and 40 deletions

View File

@@ -5,7 +5,7 @@ kind: Gateway
metadata:
name: external
# annotations:
# external-dns.alpha.kubernetes.io/target: external.${SECRET_CLUSTER_DOMAIN}
# external-dns.alpha.kubernetes.io/target: external.${SECRET_EXTERNAL_DOMAIN}
spec:
gatewayClassName: envoy-gateway
addresses:
@@ -13,19 +13,19 @@ spec:
value: "${CLUSTER_LB_ENVOY_EXTERNAL}"
# infrastructure:
# annotations:
# external-dns.alpha.kubernetes.io/hostname: external.${SECRET_CLUSTER_DOMAIN}
# external-dns.alpha.kubernetes.io/hostname: external.${SECRET_EXTERNAL_DOMAIN}
listeners:
- name: http
protocol: HTTP
port: 80
hostname: "*.${SECRET_CLUSTER_DOMAIN}"
hostname: "*.${SECRET_EXTERNAL_DOMAIN}"
allowedRoutes:
namespaces:
from: Same
- name: https
protocol: HTTPS
port: 443
hostname: "*.${SECRET_CLUSTER_DOMAIN}"
hostname: "*.${SECRET_EXTERNAL_DOMAIN}"
allowedRoutes:
namespaces:
from: All

View File

@@ -2,7 +2,6 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: networking-system
resources:
- ./gateway.yaml
- ./redirect.yaml