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