feat(ente): deploy s3 proxy HTTPS route
Some checks failed
Renovate / renovate (push) Failing after 1m36s
Some checks failed
Renovate / renovate (push) Failing after 1m36s
This commit is contained in:
parent
8165a655ab
commit
194032f36a
2 changed files with 57 additions and 41 deletions
|
@ -4,7 +4,7 @@ metadata:
|
|||
name: s3-cors-proxy
|
||||
spec:
|
||||
image: "code.icb4dc0.de/infrastructure/functions:latest"
|
||||
executor: containerd-shim-spin
|
||||
executor: ente-containerd-shim-spin
|
||||
replicas: 2
|
||||
variables:
|
||||
- name: s3_endpoint_url
|
||||
|
|
|
@ -5,20 +5,20 @@ metadata:
|
|||
name: http
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: http
|
||||
namespace: projectcontour
|
||||
- name: contour
|
||||
sectionName: http
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- ente.icb4dc0.de
|
||||
- api.ente.icb4dc0.de
|
||||
- albums.ente.icb4dc0.de
|
||||
- cast.ente.icb4dc0.de
|
||||
- ente.icb4dc0.de
|
||||
- api.ente.icb4dc0.de
|
||||
- albums.ente.icb4dc0.de
|
||||
- cast.ente.icb4dc0.de
|
||||
rules:
|
||||
- filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
statusCode: 301
|
||||
- filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
statusCode: 301
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
|
@ -26,15 +26,31 @@ metadata:
|
|||
name: https-api
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: ente-endpoints
|
||||
namespace: projectcontour
|
||||
- name: contour
|
||||
sectionName: ente-endpoints
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- api.ente.icb4dc0.de
|
||||
- s3.ente.icb4dc0.de
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: ente-museum
|
||||
port: 8080
|
||||
- backendRefs:
|
||||
- name: ente-s3-cors-proxy
|
||||
port: 80
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: https-api
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: ente-endpoints
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- api.ente.icb4dc0.de
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: ente-museum
|
||||
port: 8080
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
|
@ -42,15 +58,15 @@ metadata:
|
|||
name: https-photos
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: https
|
||||
namespace: projectcontour
|
||||
- name: contour
|
||||
sectionName: https
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- ente.icb4dc0.de
|
||||
- ente.icb4dc0.de
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: ente-photos
|
||||
port: 3000
|
||||
- backendRefs:
|
||||
- name: ente-photos
|
||||
port: 3000
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
|
@ -58,15 +74,15 @@ metadata:
|
|||
name: https-albums
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: ente-endpoints
|
||||
namespace: projectcontour
|
||||
- name: contour
|
||||
sectionName: ente-endpoints
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- albums.ente.icb4dc0.de
|
||||
- albums.ente.icb4dc0.de
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: ente-photos
|
||||
port: 3000
|
||||
- backendRefs:
|
||||
- name: ente-photos
|
||||
port: 3000
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
|
@ -74,12 +90,12 @@ metadata:
|
|||
name: https-cast
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: ente-endpoints
|
||||
namespace: projectcontour
|
||||
- name: contour
|
||||
sectionName: ente-endpoints
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- cast.ente.icb4dc0.de
|
||||
- cast.ente.icb4dc0.de
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: ente-cast
|
||||
port: 3000
|
||||
- backendRefs:
|
||||
- name: ente-cast
|
||||
port: 3000
|
||||
|
|
Loading…
Reference in a new issue