Skip to content

Commit

Permalink
Pass current namespace to argo via environment variable (#2317)
Browse files Browse the repository at this point in the history
Co-authored-by: Vinicius D. Cerutti <[email protected]>
  • Loading branch information
krassowski and viniciusdc authored Mar 23, 2024
1 parent 0ff7b7c commit 9b9b6bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,14 @@ def profile_conda_store_viewer_token():
}
}
},
"CONDA_STORE_SERVICE_NAMESPACE": {
"valueFrom": {
"secretKeyRef": {
"name": "argo-workflows-conda-store-token",
"key": "conda-store-service-namespace",
}
}
},
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,9 @@ resource "kubernetes_secret" "argo-workflows-conda-store-token" {
}

data = {
"conda-store-api-token" = var.conda-store-argo-workflows-jupyter-scheduler-token
"conda-store-service-name" = var.conda-store-service-name
"conda-store-api-token" = var.conda-store-argo-workflows-jupyter-scheduler-token
"conda-store-service-name" = var.conda-store-service-name
"conda-store-service-namespace" = var.namespace
}

type = "Opaque"
Expand Down

0 comments on commit 9b9b6bc

Please sign in to comment.