From a23ac9f7e8ca5561a575910f3ebed80ea94f6f5b Mon Sep 17 00:00:00 2001 From: zshotan Date: Fri, 16 Dec 2022 11:27:10 -0500 Subject: [PATCH] updated --- examples/docker/run_in_docker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/docker/run_in_docker b/examples/docker/run_in_docker index e6723ab..abf8338 100755 --- a/examples/docker/run_in_docker +++ b/examples/docker/run_in_docker @@ -9,8 +9,9 @@ fi : "${RUN_PATH:="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"}" : "${IMAGE_TAG:="airflow_kubernetes_job_operator_example_image"}" : "${DAGS_PATH:="$(realpath "$RUN_PATH/../../tests/dags")"}" +: "${KUBE_CONFIG:="$HOME/.kube/config"}" docker build -t "$IMAGE_TAG" "$RUN_PATH" && docker run -it --rm --network host \ - -v "$HOME/.kube/config:/home/airflow/.kube/config" \ + -v "$KUBE_CONFIG:/home/airflow/.kube/config" \ -v "$DAGS_PATH:/opt/airflow/dags" "$IMAGE_TAG"