We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef7afb3 commit 027de7bCopy full SHA for 027de7b
1 file changed
stackgres-k8s/e2e/spec/cluster-api-info
@@ -24,6 +24,10 @@ e2e_test() {
24
}
25
26
get_api_cluster_info() {
27
+ wait_until check_api_cluster_info
28
+}
29
+
30
+check_api_cluster_info() {
31
local CLUSTER_INFO_PRIMARYDNS CLUSTER_INFO_REPLICADNS \
32
CLUSTER_INFO_USERNAME CLUSTER_INFO_SECRETNAME CLUSTER_INFO_PWKEY
33
CLUSTER_INFO_PRIMARYDNS="$(run_curl -r "stackgres/namespaces/$CLUSTER_NAMESPACE/sgclusters/$CLUSTER_NAME" | jq '.info.primaryDns' -r)"
0 commit comments