Add missing statuses to the status help text (#7035)

Signed-off-by: Jason Pickens <jasonpickensnz@gmail.com>
pull/6842/head
Jason Pickens 5 years ago committed by Martin Hickey
parent 0fd76b2a2b
commit 0eaa881c4e

@ -31,12 +31,13 @@ import (
"helm.sh/helm/v3/pkg/release"
)
// NOTE: Keep the list of statuses up-to-date with pkg/release/status.go.
var statusHelp = `
This command shows the status of a named release.
The status consists of:
- last deployment time
- k8s namespace in which the release lives
- state of the release (can be: unknown, deployed, deleted, superseded, failed or deleting)
- state of the release (can be: unknown, deployed, uninstalled, superseded, failed, uninstalling, pending-install, pending-upgrade or pending-rollback)
- list of resources that this release consists of, sorted by kind
- details on last test suite run, if applicable
- additional notes provided by the chart

@ -19,6 +19,7 @@ package release
type Status string
// Describe the status of a release
// NOTE: Make sure to update cmd/helm/status.go when adding or modifying any of these statuses.
const (
// StatusUnknown indicates that a release is in an uncertain state.
StatusUnknown Status = "unknown"

Loading…
Cancel
Save