Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/kube-audit/scripts/set_audit_log_policy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function apply_oc_patch() {
else
echo "Failed to apply patch. Retrying in ${RETRY_WAIT}s..."
sleep $RETRY_WAIT
((attempt++))
attempt=$((attempt+1))
RETRY_WAIT=$((RETRY_WAIT * 2))
fi
done
Expand Down
4 changes: 2 additions & 2 deletions scripts/enable_disable_ocp_console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function apply_oc_patch() {
else
echo "Failed to apply patch. Retrying in ${retry_wait_time}s..."
sleep $retry_wait_time
((attempt++))
attempt=$((attempt+1))
fi
done

Expand All @@ -50,7 +50,7 @@ function remove_oc_patch() {
else
echo "Failed to remove patch. Retrying in ${retry_wait_time}s..."
sleep $retry_wait_time
((attempt++))
attempt=$((attempt+1))
fi
done

Expand Down
2 changes: 1 addition & 1 deletion scripts/reset_iks_api_key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ if [ "${reset}" == true ]; then
echo "ERROR:: FAILED TO RESET THE IAM API KEY"
echo "$result"
sleep $retry_wait_time
((attempt++))
attempt=$((attempt+1))
fi
# sleep for 10 secs to allow the new key to be replicated across backend DB instances before attempting to create cluster
done
Expand Down