Skip to content

Commit a62fc70

Browse files
committed
update to use the api rule v2
1 parent 7e79b1e commit a62fc70

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
apiVersion: gateway.kyma-project.io/v1beta1
1+
apiVersion: gateway.kyma-project.io/v2
22
kind: APIRule
33
metadata:
44
labels:
55
sample: principal-prop-on-prem
66
name: principal-prop-on-prem
77
spec:
8-
gateway: kyma-gateway.kyma-system.svc.cluster.local
9-
host: principal-prop-on-prem
8+
gateway: kyma-system/kyma-gateway
9+
hosts:
10+
- principal-prop-on-prem
1011
rules:
11-
- path: /.*
12+
- path: /*
1213
methods: ["GET", "POST", "PUT", "DELETE"]
14+
noAuth: true
1315
service:
1416
name: app-router
1517
port: 5000
16-
accessStrategies:
17-
- handler: allow

0 commit comments

Comments
 (0)