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
|
#!/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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user