Skip to content

Commit 166a646

Browse files
add another mock cr to ensure single-namespace case also continues to work
[static] Signed-off-by: Martin Florian <martin.florian@digitalasset.com>
1 parent c73fa35 commit 166a646

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

cluster/deployment/mock/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,12 @@ infra:
135135
- to:
136136
- operation:
137137
paths: ["/api/sv/v0/devnet/onboard/validator/prepare"]
138+
mock-cr:
139+
apiVersion: mock.example.com/v1
140+
kind: MockResource
141+
metadata:
142+
name: mock-resource
143+
namespace: validator1
144+
spec:
145+
key: value
146+
anotherKey: anotherValue

cluster/expected/infra/expected.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,25 @@
20472047
"provider": "",
20482048
"type": "command:local:Command"
20492049
},
2050+
{
2051+
"custom": true,
2052+
"id": "",
2053+
"inputs": {
2054+
"apiVersion": "mock.example.com/v1",
2055+
"kind": "MockResource",
2056+
"metadata": {
2057+
"name": "mock-resource",
2058+
"namespace": "validator1"
2059+
},
2060+
"spec": {
2061+
"anotherKey": "anotherValue",
2062+
"key": "value"
2063+
}
2064+
},
2065+
"name": "mock-cr",
2066+
"provider": "",
2067+
"type": "kubernetes:mock.example.com/v1:MockResource"
2068+
},
20502069
{
20512070
"custom": true,
20522071
"id": "",

0 commit comments

Comments
 (0)