feat: setup Gateway API
This commit is contained in:
parent
ba06d96a2c
commit
80721ce1da
75 changed files with 20990 additions and 1271 deletions
nocodb
|
@ -19,7 +19,7 @@ resources:
|
|||
- resources/pvc.yaml
|
||||
- resources/deployment.yaml
|
||||
- resources/service.yaml
|
||||
- resources/ingress.yaml
|
||||
- resources/http_routes.yaml
|
||||
|
||||
generators:
|
||||
- ./secret-generator.yaml
|
||||
|
|
34
nocodb/resources/http_routes.yaml
Normal file
34
nocodb/resources/http_routes.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: nocodb-http
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: http
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- noco.icb4dc0.de
|
||||
rules:
|
||||
- filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
statusCode: 301
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: nocodb-https
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: https
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- noco.icb4dc0.de
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: nocodb
|
||||
port: 8080
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: nocodb
|
||||
annotations:
|
||||
gethomepage.dev/description: Data workspace
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/group: Apps
|
||||
gethomepage.dev/icon: nocodb.png
|
||||
gethomepage.dev/name: NocoDB
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
spec:
|
||||
rules:
|
||||
- host: noco.icb4dc0.de
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: /
|
||||
backend:
|
||||
service:
|
||||
name: nocodb
|
||||
port:
|
||||
number: 8080
|
||||
tls:
|
||||
- hosts:
|
||||
- noco.icb4dc0.de
|
||||
secretName: nocodb-ingress-tls
|
Loading…
Add table
Add a link
Reference in a new issue