Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 16s
All checks were successful
Build docker container / Build image (push) Successful in 16s
This commit is contained in:
parent
64a2dad2fa
commit
11c5dc7767
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user