Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 10s
All checks were successful
Build docker container / Build image (push) Successful in 10s
This commit is contained in:
parent
8564f98c1b
commit
f5b6a63ed3
@ -43,6 +43,13 @@ createHelmYaml() {
|
||||
echo "$helm_chart_yaml"
|
||||
}
|
||||
|
||||
# if KUBECONFIG_DATA is set
|
||||
if[[ -z "$KUBECONFIG_DATA" ]]; then
|
||||
print "# Installing .kube/config"
|
||||
mkdir -p ~/.kube
|
||||
echo "$KUBECONFIG_DATA" > ~/.kube/config
|
||||
fi
|
||||
|
||||
# Check if the action environment variable is set to 'print'
|
||||
if [[ "$action" == "print" ]]; then
|
||||
createHelmYaml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user