Split manifests into infra/ and applications/
This commit is contained in:
14
infra/envoy-gateway/pelican/pelican-certificate.yaml
Normal file
14
infra/envoy-gateway/pelican/pelican-certificate.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: pelican-tls
|
||||
namespace: envoy-gateway
|
||||
spec:
|
||||
secretName: pelican-tls
|
||||
privateKey:
|
||||
rotationPolicy: Always
|
||||
issuerRef:
|
||||
name: azure-dns
|
||||
kind: ClusterIssuer
|
||||
dnsNames:
|
||||
- pelican.jsme.be
|
||||
19
infra/envoy-gateway/pelican/pelican-gateway-patch.yaml
Normal file
19
infra/envoy-gateway/pelican/pelican-gateway-patch.yaml
Normal file
@@ -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
|
||||
14
infra/envoy-gateway/pelican/pelican-wings-certificate.yaml
Normal file
14
infra/envoy-gateway/pelican/pelican-wings-certificate.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: wings-tls
|
||||
namespace: envoy-gateway
|
||||
spec:
|
||||
secretName: wings-tls
|
||||
privateKey:
|
||||
rotationPolicy: Always
|
||||
issuerRef:
|
||||
name: azure-dns
|
||||
kind: ClusterIssuer
|
||||
dnsNames:
|
||||
- wings.jsme.be
|
||||
@@ -0,0 +1,19 @@
|
||||
apiVersion: gateway.envoyproxy.io/v1alpha1
|
||||
kind: ClientTrafficPolicy
|
||||
metadata:
|
||||
name: wings-client-traffic
|
||||
namespace: envoy-gateway
|
||||
spec:
|
||||
targetRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
sectionName: wings
|
||||
tls:
|
||||
# Wings only speaks HTTP/1.1; disabling h2 ALPN prevents Guzzle connection-reuse broken pipe
|
||||
alpnProtocols:
|
||||
- http/1.1
|
||||
timeout:
|
||||
http:
|
||||
requestReceivedTimeout: 0s
|
||||
idleTimeout: 3600s
|
||||
19
infra/envoy-gateway/pelican/pelican-wings-gateway-patch.yaml
Normal file
19
infra/envoy-gateway/pelican/pelican-wings-gateway-patch.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
- op: add
|
||||
path: /spec/listeners/-
|
||||
value:
|
||||
name: wings
|
||||
protocol: HTTPS
|
||||
port: 443
|
||||
hostname: "wings.jsme.be"
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Selector
|
||||
selector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: pelican
|
||||
tls:
|
||||
mode: Terminate
|
||||
certificateRefs:
|
||||
- kind: Secret
|
||||
name: wings-tls
|
||||
namespace: envoy-gateway
|
||||
Reference in New Issue
Block a user