We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e79b1e commit a62fc70Copy full SHA for a62fc70
1 file changed
principal-prop-on-prem/app-router/k8s/api-rule.yaml
@@ -1,17 +1,17 @@
1
-apiVersion: gateway.kyma-project.io/v1beta1
+apiVersion: gateway.kyma-project.io/v2
2
kind: APIRule
3
metadata:
4
labels:
5
sample: principal-prop-on-prem
6
name: principal-prop-on-prem
7
spec:
8
- gateway: kyma-gateway.kyma-system.svc.cluster.local
9
- host: principal-prop-on-prem
+ gateway: kyma-system/kyma-gateway
+ hosts:
10
+ - principal-prop-on-prem
11
rules:
- - path: /.*
12
+ - path: /*
13
methods: ["GET", "POST", "PUT", "DELETE"]
14
+ noAuth: true
15
service:
16
name: app-router
17
port: 5000
- accessStrategies:
- - handler: allow
0 commit comments