diff --git a/cmd/helm/status.go b/cmd/helm/status.go index 636528675..725b3f367 100644 --- a/cmd/helm/status.go +++ b/cmd/helm/status.go @@ -144,7 +144,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("")