Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 13s

This commit is contained in:
ties 2024-08-27 16:06:28 +00:00
parent a223a63184
commit d1b774ed0e

View File

@ -22,7 +22,8 @@ createHelmYaml() {
fi fi
# Load the raw content of values.yaml # Load the raw content of values.yaml
values_content=$(cat values.yaml)
values_content=$(cat values.yaml | yq -r ".$chart_name")
# Create HelmChart content in a variable # Create HelmChart content in a variable
helm_chart_yaml=$(yq eval -n ".apiVersion = \"helm.cattle.io/v1\" | helm_chart_yaml=$(yq eval -n ".apiVersion = \"helm.cattle.io/v1\" |