pelican: split wings into wings-mc and wings-ark domains
This commit is contained in:
@@ -39,7 +39,7 @@ spec:
|
||||
- name: Permissions-Policy
|
||||
value: "camera=(), microphone=(), geolocation=(), payment=()"
|
||||
- name: Content-Security-Policy
|
||||
value: "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; img-src 'self' data: blob: https://gravatar.com https://www.gravatar.com; font-src 'self' data: https://cdnjs.cloudflare.com; connect-src 'self' https://wings.jsme.be wss://wings.jsme.be ws: wss:; worker-src blob:; frame-ancestors 'self'"
|
||||
value: "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; img-src 'self' data: blob: https://gravatar.com https://www.gravatar.com; font-src 'self' data: https://cdnjs.cloudflare.com; connect-src 'self' https://wings-mc.jsme.be wss://wings-mc.jsme.be https://wings-ark.jsme.be wss://wings-ark.jsme.be ws: wss:; worker-src blob:; frame-ancestors 'self'"
|
||||
backendRefs:
|
||||
- name: pelican
|
||||
port: 80
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: discovery.k8s.io/v1
|
||||
kind: EndpointSlice
|
||||
metadata:
|
||||
name: wings-ark
|
||||
namespace: pelican
|
||||
labels:
|
||||
kubernetes.io/service-name: wings-ark
|
||||
addressType: IPv4
|
||||
ports:
|
||||
- port: 8080
|
||||
protocol: TCP
|
||||
endpoints:
|
||||
# PLACEHOLDER: replace with the ARK wings VM IP once it exists,
|
||||
# then flip ready/serving to true
|
||||
- addresses:
|
||||
- "10.8.11.51"
|
||||
conditions:
|
||||
ready: false
|
||||
serving: false
|
||||
terminating: false
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: wings-ark-route
|
||||
namespace: pelican
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: wings-ark
|
||||
hostnames:
|
||||
- "wings-ark.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: wings-ark
|
||||
port: 8080
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wings-ark
|
||||
namespace: pelican
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
type: ClusterIP
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
apiVersion: discovery.k8s.io/v1
|
||||
kind: EndpointSlice
|
||||
metadata:
|
||||
name: wings
|
||||
name: wings-mc
|
||||
namespace: pelican
|
||||
labels:
|
||||
kubernetes.io/service-name: wings
|
||||
kubernetes.io/service-name: wings-mc
|
||||
addressType: IPv4
|
||||
ports:
|
||||
- port: 8080
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: wings-route
|
||||
name: wings-mc-route
|
||||
namespace: pelican
|
||||
spec:
|
||||
parentRefs:
|
||||
@@ -9,16 +9,16 @@ spec:
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: wings
|
||||
sectionName: wings-mc
|
||||
hostnames:
|
||||
- "wings.jsme.be"
|
||||
- "wings-mc.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: wings
|
||||
- name: wings-mc
|
||||
port: 8080
|
||||
kind: Service
|
||||
group: ""
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wings
|
||||
name: wings-mc
|
||||
namespace: pelican
|
||||
spec:
|
||||
ports:
|
||||
Reference in New Issue
Block a user