Initial commit
This commit is contained in:
67
minio-aistor/httproutes.yaml
Normal file
67
minio-aistor/httproutes.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: minio-aistor-api-route
|
||||
namespace: minio-aistor
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: minio-aistor-api
|
||||
hostnames:
|
||||
- "s3.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
filters:
|
||||
- type: RequestHeaderModifier
|
||||
requestHeaderModifier:
|
||||
set:
|
||||
- name: X-Forwarded-Host
|
||||
value: "s3.jsme.be"
|
||||
- name: X-Forwarded-Proto
|
||||
value: https
|
||||
backendRefs:
|
||||
- name: minio-aistor
|
||||
port: 9000
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: minio-aistor-console-route
|
||||
namespace: minio-aistor
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: minio-aistor-console
|
||||
hostnames:
|
||||
- "s3-console.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
filters:
|
||||
- type: RequestHeaderModifier
|
||||
requestHeaderModifier:
|
||||
set:
|
||||
- name: X-Forwarded-Host
|
||||
value: "s3-console.jsme.be"
|
||||
- name: X-Forwarded-Proto
|
||||
value: https
|
||||
backendRefs:
|
||||
- name: minio-aistor
|
||||
port: 9001
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
Reference in New Issue
Block a user