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

This commit is contained in:
ties 2024-08-27 10:52:45 +00:00
parent 8564f98c1b
commit f5b6a63ed3

View File

@ -43,6 +43,13 @@ createHelmYaml() {
echo "$helm_chart_yaml" 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' # Check if the action environment variable is set to 'print'
if [[ "$action" == "print" ]]; then if [[ "$action" == "print" ]]; then
createHelmYaml createHelmYaml