diff --git a/applications/pelican/pelican-httproute.yaml b/applications/pelican/pelican-httproute.yaml index eb8d290..39ec532 100644 --- a/applications/pelican/pelican-httproute.yaml +++ b/applications/pelican/pelican-httproute.yaml @@ -10,6 +10,11 @@ spec: name: gateway-internal namespace: envoy-gateway sectionName: pelican + - group: gateway.networking.k8s.io + kind: Gateway + name: gateway-public + namespace: envoy-gateway + sectionName: pelican hostnames: - "pelican.jsme.be" rules: diff --git a/infra/envoy-gateway/kustomization.yaml b/infra/envoy-gateway/kustomization.yaml index 9eba136..ecb5e98 100644 --- a/infra/envoy-gateway/kustomization.yaml +++ b/infra/envoy-gateway/kustomization.yaml @@ -379,6 +379,12 @@ patches: kind: Gateway name: gateway-public path: outline/outline-gateway-public-patch.yaml + - target: + group: gateway.networking.k8s.io + version: v1 + kind: Gateway + name: gateway-public + path: pelican/pelican-gateway-public-patch.yaml # Uncomment to expose Grafana publicly — ensure Grafana auth is properly configured first # - target: # group: gateway.networking.k8s.io diff --git a/infra/envoy-gateway/pelican/pelican-gateway-public-patch.yaml b/infra/envoy-gateway/pelican/pelican-gateway-public-patch.yaml new file mode 100644 index 0000000..920bb3d --- /dev/null +++ b/infra/envoy-gateway/pelican/pelican-gateway-public-patch.yaml @@ -0,0 +1,19 @@ +- op: add + path: /spec/listeners/- + value: + name: pelican + protocol: HTTPS + port: 443 + hostname: "pelican.jsme.be" + allowedRoutes: + namespaces: + from: Selector + selector: + matchLabels: + kubernetes.io/metadata.name: pelican + tls: + mode: Terminate + certificateRefs: + - kind: Secret + name: pelican-tls + namespace: envoy-gateway