Skip to content

Commit

Permalink
Add analyzer to check for default storage class (#4733)
Browse files Browse the repository at this point in the history
  • Loading branch information
5hubh49 authored Jul 9, 2024
1 parent 2dae2bf commit bca2ae7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/supportbundle/defaultspec/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,10 @@ spec:
- 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.
- storageClass:
checkName: Check for default storage class
outcomes:
- fail:
message: No default storage class found
- pass:
message: Default storage class found

0 comments on commit bca2ae7

Please sign in to comment.