Skip to content

Commit 97c87a3

Browse files
committed
tests: set .global.ck8sCloudProvider during tests to satisfy schema
1 parent 2dc889e commit 97c87a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/common/lib/env.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ env.init() {
2525
yq_set 'common' '.global.baseDomain' '"ck8s.example.com"'
2626
yq_set 'common' '.global.opsDomain' '"ops.ck8s.example.com"'
2727

28+
yq_set 'common' '.global.ck8sCloudProvider' "\"${CK8S_CLOUD_PROVIDER}\""
29+
2830
if ! [[ "$*" =~ --skip-object-storage ]]; then
2931
yq_set 'common' '.objectStorage.type' '"s3"'
3032
yq_set 'common' '.objectStorage.s3.region' '"example-region"'

0 commit comments

Comments
 (0)