pelican: split wings into wings-mc and wings-ark domains
This commit is contained in:
@@ -2,9 +2,15 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- envoy-gateway-namespace.yaml
|
||||
- gateway.yaml
|
||||
- gateway-public.yaml
|
||||
|
||||
# CrowdSec (public gateway hardening) — HELD pending enforcement-scope decision
|
||||
# (EG v1.3.2 SecurityPolicy does not support sectionName; see it-tools-securitypolicy.yaml)
|
||||
# - crowdsec/envoyproxy-public.yaml
|
||||
# - crowdsec/it-tools-securitypolicy.yaml
|
||||
|
||||
# Policies
|
||||
- pelican/pelican-wings-clienttrafficpolicy.yaml
|
||||
- minio-aistor/minio-aistor-clienttrafficpolicy.yaml
|
||||
@@ -46,7 +52,8 @@ resources:
|
||||
- searxng/searxng-certificate.yaml
|
||||
- affine/affine-certificate.yaml
|
||||
- pelican/pelican-certificate.yaml
|
||||
- pelican/pelican-wings-certificate.yaml
|
||||
- pelican/pelican-wings-mc-certificate.yaml
|
||||
- pelican/pelican-wings-ark-certificate.yaml
|
||||
- outline/outline-certificate.yaml
|
||||
|
||||
patches:
|
||||
@@ -266,7 +273,13 @@ patches:
|
||||
version: v1
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
path: pelican/pelican-wings-gateway-patch.yaml
|
||||
path: pelican/pelican-wings-mc-gateway-patch.yaml
|
||||
- target:
|
||||
group: gateway.networking.k8s.io
|
||||
version: v1
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
path: pelican/pelican-wings-ark-gateway-patch.yaml
|
||||
- target:
|
||||
group: gateway.networking.k8s.io
|
||||
version: v1
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: wings-ark-tls
|
||||
namespace: envoy-gateway
|
||||
spec:
|
||||
secretName: wings-ark-tls
|
||||
privateKey:
|
||||
rotationPolicy: Always
|
||||
issuerRef:
|
||||
name: azure-dns
|
||||
kind: ClusterIssuer
|
||||
dnsNames:
|
||||
- wings-ark.jsme.be
|
||||
@@ -0,0 +1,19 @@
|
||||
- op: add
|
||||
path: /spec/listeners/-
|
||||
value:
|
||||
name: wings-ark
|
||||
protocol: HTTPS
|
||||
port: 443
|
||||
hostname: "wings-ark.jsme.be"
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Selector
|
||||
selector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: pelican
|
||||
tls:
|
||||
mode: Terminate
|
||||
certificateRefs:
|
||||
- kind: Secret
|
||||
name: wings-ark-tls
|
||||
namespace: envoy-gateway
|
||||
@@ -8,7 +8,11 @@ spec:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
sectionName: wings
|
||||
sectionName: wings-mc
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
sectionName: wings-ark
|
||||
tls:
|
||||
# Wings only speaks HTTP/1.1; disabling h2 ALPN prevents Guzzle connection-reuse broken pipe
|
||||
alpnProtocols:
|
||||
|
||||
+3
-3
@@ -1,14 +1,14 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: wings-tls
|
||||
name: wings-mc-tls
|
||||
namespace: envoy-gateway
|
||||
spec:
|
||||
secretName: wings-tls
|
||||
secretName: wings-mc-tls
|
||||
privateKey:
|
||||
rotationPolicy: Always
|
||||
issuerRef:
|
||||
name: azure-dns
|
||||
kind: ClusterIssuer
|
||||
dnsNames:
|
||||
- wings.jsme.be
|
||||
- wings-mc.jsme.be
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
- op: add
|
||||
path: /spec/listeners/-
|
||||
value:
|
||||
name: wings
|
||||
name: wings-mc
|
||||
protocol: HTTPS
|
||||
port: 443
|
||||
hostname: "wings.jsme.be"
|
||||
hostname: "wings-mc.jsme.be"
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Selector
|
||||
@@ -15,5 +15,5 @@
|
||||
mode: Terminate
|
||||
certificateRefs:
|
||||
- kind: Secret
|
||||
name: wings-tls
|
||||
name: wings-mc-tls
|
||||
namespace: envoy-gateway
|
||||
Reference in New Issue
Block a user