Skip to content

Commit

Permalink
update with latest gateway api changes (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
achever1 authored Sep 2, 2024
1 parent 55c6049 commit d007872
Show file tree
Hide file tree
Showing 3 changed files with 1,203 additions and 1,181 deletions.
2 changes: 1 addition & 1 deletion docker/initializerGw.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"httpResponse": {
"statusCode": 200,
"body": "{ \"metadata\": { \"name\":\"vcluster1\" }, \"spec\":{\"prefix\":\"vcluster1\"} }",
"body": "{ \"metadata\": { \"name\":\"vcluster1\" }, \"spec\":{} }",
"headers": {
"Content-Type": [
"application/json"
Expand Down
21 changes: 16 additions & 5 deletions docker/test_resource_gw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ metadata:
name: rule1
vCluster: vcluster1
spec:
logicalTopicNamePattern: toto.*
physicalTopicName: yolo
pattern: toto.*
physicalTopics:
delete: yolo
autoManaged: true
---
apiVersion: gateway/v2
Expand All @@ -52,8 +53,9 @@ metadata:
name: rule2
vCluster: vcluster1
spec:
logicalTopicNamePattern: toto.*
physicalTopicName: yolo
pattern: toto.*
physicalTopics:
delete: yolo
---
apiVersion: gateway/v2
kind: GatewayGroup
Expand Down Expand Up @@ -129,9 +131,18 @@ spec:
---
apiVersion: gateway/v2
kind: GatewayServiceAccount
metadata:
name: user1
vCluster: vcluster1
spec:
type: Local
---
apiVersion: gateway/v2
kind: GatewayServiceAccount
metadata:
name: user2
vCluster: vcluster1
spec:
type: External
principal: ext_user2
externalNames:
- ext_user2
Loading

0 comments on commit d007872

Please sign in to comment.