UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit ce06e2a3 authored by Micah Nagel's avatar Micah Nagel Committed by Ryan Garcia
Browse files

Update `wait_crd` to run on addons

parent 12ed3c51
2 merge requests!1386Master,!1039Update `wait_crd` to run on addons
......@@ -135,8 +135,8 @@ function wait_daemonset(){
# Check for and run the wait_project function within <repo>/tests/wait.sh to wait for custom resources
function wait_crd(){
yq e '. | keys | .[] | ... comments=""' "${VALUES_FILE}" | while IFS= read -r package; do
if [[ "$(yq e ".${package}.enabled" "${VALUES_FILE}")" == "true" ]]; then
yq e '(.,.addons) | .[] | ... comments="" | (path | join("."))' "${CI_VALUES_FILE}" | while IFS= read -r package; do
if [[ "$(yq e ".${package}.enabled" "${CI_VALUES_FILE}")" == "true" ]]; then
gitrepo=$(yq e ".${package}.git.repo" "${VALUES_FILE}")
version=$(yq e ".${package}.git.tag" "${VALUES_FILE}")
if [[ -z "$version" || "$version" == "null" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment