Skip to content
Snippets Groups Projects
Commit 178892e7 authored by Michael Kebe's avatar Michael Kebe
Browse files

fix: improved logging kubectl apply even on cleanup job

parent 70b69ecd
No related branches found
No related tags found
No related merge requests found
......@@ -513,7 +513,7 @@ stages:
log_info "--- \\e[32mkustomize\\e[0m"
# shellcheck disable=SC2086
kubectl kustomize "$deploymentdir" ${K8S_KUSTOMIZE_ARGS} > ./generated-deployment.yml
log_info "--- \\e[32mkubectl apply\\e[0m"
log_info "--- \\e[32mkubectl $action\\e[0m"
kubectl ${TRACE+-v=5} "$action" -f ./generated-deployment.yml
else
# find deployment file
......@@ -527,7 +527,7 @@ stages:
# replace variables (alternative for envsubst which is not present in image)
awkenvsubst < "$deploymentfile" > generated-deployment.yml
log_info "--- \\e[32mkubectl apply\\e[0m"
log_info "--- \\e[32mkubectl $action\\e[0m"
kubectl ${TRACE+-v=5} "$action" -f ./generated-deployment.yml
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment