Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 10s
All checks were successful
Build docker container / Build image (push) Successful in 10s
This commit is contained in:
parent
60b8d66d30
commit
a8631e145d
@ -6,6 +6,11 @@ chart_name=$(yq e '.name' Chart.yaml)
|
||||
chart_repo=$(yq e '.dependencies[0].repository' Chart.yaml)
|
||||
chart_namespace=$(yq e '.annotations.namespace' Chart.yaml)
|
||||
|
||||
# Check if chart_namespace is empty and default to chart_name if it is
|
||||
if [[ -z "$chart_namespace" ]]; then
|
||||
chart_namespace="$chart_name"
|
||||
fi
|
||||
|
||||
# Determine the correct chart and repo values based on chart_repo
|
||||
if [[ $chart_repo == oci://* ]]; then
|
||||
chart="${chart_repo}/${chart_name}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user