From d44505566279feb9a35d2af3b478d0eb28ea32d9 Mon Sep 17 00:00:00 2001 From: Juliano Mohr <1110178+juliaaano@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:40:30 +0000 Subject: [PATCH] FIX CNV GITOPS argocd health --- .../templates/openshift-gitops.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles_ocp_workloads/ocp4_workload_openshift_gitops/templates/openshift-gitops.yaml.j2 b/ansible/roles_ocp_workloads/ocp4_workload_openshift_gitops/templates/openshift-gitops.yaml.j2 index e2cda8368df..e4c1ecc6ca1 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_openshift_gitops/templates/openshift-gitops.yaml.j2 +++ b/ansible/roles_ocp_workloads/ocp4_workload_openshift_gitops/templates/openshift-gitops.yaml.j2 @@ -125,5 +125,5 @@ spec: {% endif %} {% if ocp4_workload_openshift_gitops_resource_health | length > 0 %} resourceHealthChecks: - {{ ocp4_workload_openshift_gitops_resource_health | indent(4) }} + {{ ocp4_workload_openshift_gitops_resource_health | regex_replace("\n(?!$)", "\n ") }} {% endif %}