From 92b9d4791ce564fe9287d1de2f4e937e76a13f8f Mon Sep 17 00:00:00 2001 From: Evans Mungai Date: Wed, 21 Aug 2024 15:25:35 +0100 Subject: [PATCH] fix: Corrections in the default support bundle spec (#4836) Signed-off-by: Evans Mungai --- pkg/supportbundle/staticspecs/defaultspec.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkg/supportbundle/staticspecs/defaultspec.yaml b/pkg/supportbundle/staticspecs/defaultspec.yaml index 64b6c43e5f..73182bda61 100644 --- a/pkg/supportbundle/staticspecs/defaultspec.yaml +++ b/pkg/supportbundle/staticspecs/defaultspec.yaml @@ -121,10 +121,6 @@ spec: message: "Not all nodes are online." - pass: message: "All nodes are online." - outcomes: - - fail: - when: "!= Healthy" # Catch all unhealthy pods. A pod is considered healthy if it has a status of Completed, or Running and all of its containers are ready. - message: A Contour pod, {{ .Name }}, is unhealthy with a status of {{ .Status.Reason }}. Restarting the pod may fix the issue. - nodeMetrics: checkName: kotsadm rqlite PVC usage filters: @@ -132,7 +128,7 @@ spec: nameRegex: "kotsadm-rqlite.*" outcomes: - fail: - when: "pvcUsedPercentage >= 80%" + when: "pvcUsedPercentage >= 80" message: "kotsadm-rqlite PVC using more than 80% of storage" - pass: message: "kotsadm-rqlite PVC is using less than 80% of storage" @@ -143,7 +139,7 @@ spec: nameRegex: "kotsadm-minio.*" outcomes: - fail: - when: "pvcUsedPercentage >= 80%" + when: "pvcUsedPercentage >= 80" message: "kotsadm-minio PVC using more than 80% of storage" - pass: message: "kotsadm-minio PVC is using less than 80% of storage"