Skip to content

Commit 502f8b7

Browse files
committed
Adapt last-order
1 parent 7f2efb0 commit 502f8b7

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

tests/fast-integration/test/fixtures/commerce-mock/lastorder-function.yaml

+2-12
Original file line numberDiff line numberDiff line change
@@ -170,22 +170,13 @@ spec:
170170
}
171171
}
172172
---
173-
apiVersion: hydra.ory.sh/v1alpha1
174-
kind: OAuth2Client
175-
metadata:
176-
name: lastorder
177-
spec:
178-
grantTypes:
179-
- "client_credentials"
180-
scope: "read write"
181-
secretName: lastorder-oauth
182-
---
183-
apiVersion: gateway.kyma-project.io/v1alpha1
173+
apiVersion: gateway.kyma-project.io/v1beta1
184174
kind: APIRule
185175
metadata:
186176
name: lastorder
187177
spec:
188178
gateway: kyma-gateway.kyma-system.svc.cluster.local
179+
host: lastorder
189180
rules:
190181
- path: /function
191182
methods: ["GET", "POST"]
@@ -197,6 +188,5 @@ spec:
197188
- handler: allow
198189
config: {}
199190
service:
200-
host: lastorder
201191
name: lastorder
202192
port: 80

0 commit comments

Comments
 (0)