Skip to content

Commit de8d128

Browse files
committed
tests: ensure .global satisfies schema
schema: fixup tests
1 parent 2dc889e commit de8d128

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/common/lib/env.bash

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,14 @@ env.init() {
2222

2323
ck8s init both
2424

25+
yq_set 'common' '.global.ck8sCloudProvider' "\"${CK8S_CLOUD_PROVIDER}\""
26+
2527
yq_set 'common' '.global.baseDomain' '"ck8s.example.com"'
2628
yq_set 'common' '.global.opsDomain' '"ops.ck8s.example.com"'
2729

30+
yq_set 'common' '.global.scOpsDomain' '"ops.ck8s.example.com"'
31+
yq_set 'common' '.global.scDomain' '"ck8s.example.com"'
32+
2833
if ! [[ "$*" =~ --skip-object-storage ]]; then
2934
yq_set 'common' '.objectStorage.type' '"s3"'
3035
yq_set 'common' '.objectStorage.s3.region' '"example-region"'

0 commit comments

Comments
 (0)