Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 15s
All checks were successful
Build docker container / Build image (push) Successful in 15s
This commit is contained in:
parent
804e3dbcf8
commit
90bd4c247e
@ -23,10 +23,10 @@ createHelmYaml() {
|
||||
|
||||
# Load the raw content of values.yaml
|
||||
|
||||
values_content=$(cat values.yaml | yq -y ".$chart_name")
|
||||
values_content=$(cat values.yaml | yq -r ".$chart_name")
|
||||
|
||||
# Create HelmChart content in a variable
|
||||
helm_chart_yaml=$(yq eval -n -y ".apiVersion = \"helm.cattle.io/v1\" |
|
||||
helm_chart_yaml=$(yq eval -n -r ".apiVersion = \"helm.cattle.io/v1\" |
|
||||
.kind = \"HelmChart\" |
|
||||
.metadata.name = \"$chart_name\" |
|
||||
.metadata.namespace = \"$chart_namespace\" |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user