diff --git a/terraform/deployment.tf b/terraform/deployment.tf index 36be6370..c06b933f 100644 --- a/terraform/deployment.tf +++ b/terraform/deployment.tf @@ -79,6 +79,12 @@ resource "kubernetes_deployment" "app" { } } + env_from { + secret_ref { + name = kubernetes_secret.app.metadata[0].name + } + } + liveness_probe { http_get { port = "http"