From db3710f99272349783b85cf62ba5b1c75a1cc668 Mon Sep 17 00:00:00 2001 From: jabae Date: Tue, 2 Jul 2024 00:38:43 +0900 Subject: [PATCH] mount tigerdata secrets --- dags/synaptor_ops.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dags/synaptor_ops.py b/dags/synaptor_ops.py index 3afd7477..b6aef93c 100644 --- a/dags/synaptor_ops.py +++ b/dags/synaptor_ops.py @@ -22,6 +22,7 @@ maybe_aws = Variable.get("aws-secret.json", None) maybe_gcp = Variable.get("google-secret.json", None) +maybe_td = Variable.get("tigerdata-secret.json", None) mount_variables = ["synaptor_param.json"] @@ -29,6 +30,8 @@ mount_variables.append("aws-secret.json") if maybe_gcp is not None: mount_variables.append("google-secret.json") +if maybe_td is not None: + mount_variables.append("tigerdata-secret.json") # hard-coding these for now MOUNT_POINT = "/root/.cloudvolume/secrets/"