feat(meali): configure ingress
All checks were successful
Renovate / renovate (push) Successful in 1m22s
All checks were successful
Renovate / renovate (push) Successful in 1m22s
This commit is contained in:
parent
ead7bdbbf9
commit
fbeabdb2ff
3 changed files with 30 additions and 0 deletions
|
@ -14,6 +14,8 @@ resources:
|
||||||
- resources/db/user.yaml
|
- resources/db/user.yaml
|
||||||
- resources/pvc.yaml
|
- resources/pvc.yaml
|
||||||
- resources/deployment.yaml
|
- resources/deployment.yaml
|
||||||
|
- resources/service.yaml
|
||||||
|
- resources/routes.yaml
|
||||||
|
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: meali-config
|
- name: meali-config
|
||||||
|
|
16
meali/resources/routes.yaml
Normal file
16
meali/resources/routes.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: meali-https
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
- name: contour
|
||||||
|
sectionName: https
|
||||||
|
namespace: projectcontour
|
||||||
|
hostnames:
|
||||||
|
- meali.icb4dc0.de
|
||||||
|
rules:
|
||||||
|
- backendRefs:
|
||||||
|
- name: meali
|
||||||
|
port: 9000
|
12
meali/resources/service.yaml
Normal file
12
meali/resources/service.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: meali
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: meali
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 9000
|
||||||
|
targetPort: 9000
|
Loading…
Reference in a new issue