Verified Commit c86184cd authored by Birger J. Nordølum's avatar Birger J. Nordølum
Browse files

fix: api update require syntax change

Closes #14.
parent e6d6b2f8
---
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ${CI_PROJECT_NAME}
......@@ -23,14 +23,18 @@ spec:
http:
paths:
- backend:
serviceName: ${CI_PROJECT_NAME}
servicePort: 80
service:
name: ${CI_PROJECT_NAME}
port:
number: 80
- host: www.${SERVICE_FQDN}
http:
paths:
- backend:
serviceName: ${CI_PROJECT_NAME}
servicePort: 80
service:
name: ${CI_PROJECT_NAME}
port:
number: 80
---
apiVersion: v1
kind: Service
......
---
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ${CI_PROJECT_NAME}
......@@ -22,8 +22,10 @@ spec:
http:
paths:
- backend:
serviceName: ${CI_PROJECT_NAME}
servicePort: 80
service:
name: ${CI_PROJECT_NAME}
port:
number: 80
---
apiVersion: v1
kind: Service
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment