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

This commit is contained in:
ties 2024-09-06 10:20:20 +00:00
parent 64a2dad2fa
commit 11c5dc7767

View File

@ -1,6 +1,5 @@
#!/bin/bash
function checkKubeConfig(){
echo "# Check if kubeconfig exists..."
if [[ -n "$KUBECONFIG_DATA" ]]; then
@ -22,17 +21,17 @@ function checkKubeConfig(){
function printGlobal(){
if [ -e "Chart.yaml" ]; then
printHelm()
printHelm()
else
printRaw()
printRaw()
fi
}
function deployGlobal(){
if [ -e "Chart.yaml" ]; then
deployHelm()
deployHelm()
else
deployRaw()
deployRaw()
fi
}