k8s: Use stable ingress definition

This commit is contained in:
Igor Scheller 2021-07-10 12:09:24 +02:00
parent bbd08e1fab
commit dd63cd70c7
1 changed files with 6 additions and 3 deletions

View File

@ -181,7 +181,7 @@ spec:
tier: application tier: application
--- ---
apiVersion: networking.k8s.io/v1beta1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: engelsystem-ingress name: engelsystem-ingress
@ -204,6 +204,9 @@ spec:
http: http:
paths: paths:
- path: '<CI_INGRESS_PATH>/?(.*)' - path: '<CI_INGRESS_PATH>/?(.*)'
pathType: Prefix
backend: backend:
serviceName: engelsystem service:
servicePort: 80 name: engelsystem
port:
number: 80