diff --git a/pkg/cmd/status.go b/pkg/cmd/status.go index 3d1309c3e..d9dfbae91 100644 --- a/pkg/cmd/status.go +++ b/pkg/cmd/status.go @@ -143,7 +143,7 @@ func (s statusPrinter) WriteTable(out io.Writer) error { } _, _ = fmt.Fprintf(out, "DESCRIPTION: %s\n", s.release.Info.Description) - if len(s.release.Info.Resources) > 0 { + if s.showResources && s.release.Info.Resources != nil && len(s.release.Info.Resources) > 0 { buf := new(bytes.Buffer) printFlags := get.NewHumanPrintFlags() typePrinter, _ := printFlags.ToPrinter("")