diff --git a/infrastructure/helm-chart/charts/ingress-controller/templates/letsencrypt.yaml b/infrastructure/helm-chart/charts/ingress-controller/templates/letsencrypt.yaml index fe5fa64308..3a435b01cc 100644 --- a/infrastructure/helm-chart/charts/ingress-controller/templates/letsencrypt.yaml +++ b/infrastructure/helm-chart/charts/ingress-controller/templates/letsencrypt.yaml @@ -34,7 +34,7 @@ metadata: annotations: "helm.sh/hook": "post-install,post-upgrade" "helm.sh/hook-weight": "11" - "helm.sh/hook-delete-policy": "hook-succeeded" + "helm.sh/hook-delete-policy": "hook-succeeded,hook-failed" labels: core.airy.co/managed: "true" spec: diff --git a/infrastructure/terraform/modules/core/main.tf b/infrastructure/terraform/modules/core/main.tf index d2c9a4e734..a2eaef529b 100644 --- a/infrastructure/terraform/modules/core/main.tf +++ b/infrastructure/terraform/modules/core/main.tf @@ -3,7 +3,7 @@ data "http" "core_version" { } locals { - core_version = var.core_version != "" ? var.core_version : trimspace(data.http.core_version.body) + core_version = var.core_version != "" ? var.core_version : trimspace(data.http.core_version.response_body) } resource "helm_release" "airy_core" {