Skip to content

Commit

Permalink
openshift checks
Browse files Browse the repository at this point in the history
rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED

Signed-off-by: Auto User <[email protected]>
  • Loading branch information
Auto User authored and chaitanyaenr committed Sep 5, 2024
1 parent fecdb11 commit a843d5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node-scenarios/plugin_node_scenario.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
timeout: $TIMEOUT
$VERIFY_SESSION
# Set to True if you don't want to wait for the status of the nodes to change on OpenShift before passing the scenario
skip_openshift_checks: $SKIP_OPENSHIFT_CHECKS
$SKIP_OPENSHIFT_CHECKS
3 changes: 2 additions & 1 deletion node-scenarios/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ if [[ "$CLOUD_TYPE" == "vmware" || "$CLOUD_TYPE" == "ibmcloud" ]]; then
# IBM doesnt have verify session
# Invalid parameter 'verify_session', expected one of: name, runs, label_selector, timeout, instance_count, skip_openshift_checks, kubeconfig_path
if [[ "$CLOUD_TYPE" == "vmware" ]]; then

## Set to True if you want to verify the vSphere client session using certificates; else False
export VERIFY_SESSION="verify_session: $VERIFY_SESSION"
export SKIP_OPENSHIFT_CHECKS="skip_openshift_checks: $SKIP_OPENSHIFT_CHECKS"
else
export SKIP_OPENSHIFT_CHECKS=""
export VERIFY_SESSION=""
fi
envsubst < /home/krkn/kraken/scenarios/plugin_node_scenario.yaml.template > /home/krkn/kraken/scenarios/node_scenario.yaml
Expand Down

0 comments on commit a843d5a

Please sign in to comment.