{{define "header"}} {{end}} {{define "body"}} {{$pod:=.PodReport.Pod}}
Pod Volumes Events {{range .Containers}} {{.Container.Name}} {{end}} YAML
{{$hasInterestingTolerations := false}} {{range $pod.Spec.Tolerations}} {{if not (eq .Key "node.kubernetes.io/not-ready" "node.kubernetes.io/unreachable")}} {{$hasInterestingTolerations = true}} {{end}} {{end}} {{if $hasInterestingTolerations}} {{end}}
{{range $pod.Spec.Volumes}} {{end}}
{{.Name}} {{toYaml .}}
{{range .PodReport.Events}} {{end}}
Type Reason Age Source Message
{{.Type}} {{.Reason}} {{toAge .LastTimestamp.Time}}{{if lt .Count 1}}({{.Count}} times){{end}} {{.Source.Component}} {{.Message}}
{{range .Containers}} {{$c := .Container}} {{$status := .Status}}
{{if or $c.Command $c.Args}} {{end}} {{if or .DecoratedArgs}} {{end}} {{if $c.VolumeMounts}} {{end}} {{if $c.Env}} {{end}}
{{end}}
{{- toYaml .PodReport.Pod -}}
{{end}}