Skip to content

Commit eda2734

Browse files
committed
secret nanmes
1 parent 91a574f commit eda2734

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dags/nycmesh_generate_omni_cert.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@ def omni_nn_cert_task():
9090

9191
in_scope_nn = ["592"]
9292

93-
DNS_SERVER = Variable.get("tsigdns")
94-
TSIG_KEY_NAME = Variable.get("tsigkeyname")
95-
TSIG_KEY = Variable.get("tsigkey")
93+
DNS_SERVER = Variable.get("Airflow/tsigdns")
94+
TSIG_KEY_NAME = Variable.get("Airflow/tsigkeyname")
95+
TSIG_KEY = Variable.get("Airflow/tsigkey")
9696

9797
for nn in in_scope_nn:
9898
print(f"Getting cert for {nn}")
9999
cert_path = f"/fullchain{nn}.pem"
100100
priv_key_path = f"/privkey{nn}.pem"
101101
fqdn = f"{nn}.nn.mesh.nycmesh.net"
102102
generate_certbot_tsig_cert(fqdn, DNS_SERVER, TSIG_KEY_NAME, TSIG_KEY, cert_path, priv_key_path)
103-
deploy_to_omni(fqdn, Variable.get("omni"), cert_path, priv_key_path)
103+
deploy_to_omni(fqdn, Variable.get("Airflow/omni"), cert_path, priv_key_path)
104104
print("Finished")
105105

106106
omni_nn_cert_task()

0 commit comments

Comments
 (0)