add env variable to store the ml categorizer in a permanent sotrage [ci skip]

This commit is contained in:
Viktor Barzin 2023-08-23 20:11:44 +00:00
parent 27a738c50c
commit 9078c694de

View file

@ -169,6 +169,10 @@ resource "kubernetes_deployment" "finance_app" {
name = "GOCARDLESS_SECRET_KEY"
value = var.gocardless_secret_key
}
env {
name = "ML_MODEL_PATH"
value = "/data/ml_categorizer.pkl"
}
volume_mount {
name = "data"
mount_path = "/data"