-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #3465 - MultiNamespace: e2edev tests
Signed-off-by: Le Zhang <[email protected]>
- Loading branch information
1 parent
3db9813
commit 2555a15
Showing
17 changed files
with
750 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
test/gov/deployment_policies/userdev/bp_k8s_embedded_ns_update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"service": { | ||
"name": "k8s-service-embedded-ns", | ||
"org": "[email protected]", | ||
"arch": "amd64", | ||
"clusterNamespace": "ns-in-policy", | ||
"serviceVersions": [ | ||
{ | ||
"version": "1.0.0", | ||
"priority":{} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"service": { | ||
"name": "k8s-service1", | ||
"org": "[email protected]", | ||
"arch": "amd64", | ||
"clusterNamespace": "ns-in-policy", | ||
"serviceVersions": [ | ||
{ | ||
"version": "1.0.0", | ||
"priority":{} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
test/gov/input_files/compcheck/business_pol_k8s_service1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"label": "business policy for k8s-service1", | ||
"description": "deploycheck test for k8s-service1", | ||
"service": { | ||
"name": "k8s-service1", | ||
"org": "[email protected]", | ||
"arch": "__ARCH__", | ||
"clusterNamespace": "ns-in-policy", | ||
"serviceVersions": [ | ||
{ | ||
"version": "1.0.0", | ||
"priority": {}, | ||
"upgradePolicy": {} | ||
} | ||
], | ||
"nodeHealth": { | ||
"missing_heartbeat_interval": 1800, | ||
"check_agreement_status": 1800 | ||
} | ||
}, | ||
"properties": [ | ||
{ | ||
"name": "iame2edev", | ||
"value": "true" | ||
}, | ||
{ | ||
"name": "NOK8S", | ||
"value": false | ||
} | ||
], | ||
"constraints": [ | ||
"purpose == network-testing && openhorizon.kubernetesNamespace == another-namespace" | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
test/gov/input_files/k8s_deploy/topservice-operator-with-embedded-ns/node.policy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"properties":[{"name":"purpose","value":"network-testing"}],"constraints":["service.embedded.ns == operator-embedded-ns"]} |
23 changes: 23 additions & 0 deletions
23
test/gov/input_files/k8s_deploy/topservice-operator-with-embedded-ns/node_ui.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"serviceOrgid": "[email protected]", | ||
"serviceUrl": "k8s-service-embedded-ns", | ||
"serviceArch": "${ARCH}", | ||
"serviceVersionRange": "[1.0.0,INFINITY)", | ||
"inputs": [ | ||
{ | ||
"name": "var1", | ||
"value": "k8s String" | ||
}, | ||
{ | ||
"name": "var2", | ||
"value": 7 | ||
}, | ||
{ | ||
"name": "var3", | ||
"value": 88.8 | ||
} | ||
] | ||
} | ||
] | ||
|
Binary file added
BIN
+1.62 KB
...s_deploy/topservice-operator-with-embedded-ns/topservice-operator-with-embedded-ns.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions
1
test/gov/input_files/k8s_deploy/topservice-operator/node.policy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"properties":[{"name":"purpose","value":"network-testing"}],"constraints":["has.service.embedded.ns == false"]} |
23 changes: 23 additions & 0 deletions
23
test/gov/input_files/k8s_deploy/topservice-operator/node_ui.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"serviceOrgid": "[email protected]", | ||
"serviceUrl": "k8s-service1", | ||
"serviceArch": "${ARCH}", | ||
"serviceVersionRange": "[1.0.0,INFINITY)", | ||
"inputs": [ | ||
{ | ||
"name": "var1", | ||
"value": "k8s String" | ||
}, | ||
{ | ||
"name": "var2", | ||
"value": 7 | ||
}, | ||
{ | ||
"name": "var3", | ||
"value": 88.8 | ||
} | ||
] | ||
} | ||
] | ||
|
Binary file added
BIN
+1.56 KB
test/gov/input_files/k8s_deploy/topservice-operator/topservice-operator.tar.gz
Binary file not shown.
Oops, something went wrong.