feat(helm): Added the ability to handle custom description to client side for install, upgrade, rollback, and delete commands. Updated the documentation according to the changes.
f.BoolVar(&rollback.disableHooks,"no-hooks",false,"prevent hooks from running during rollback")
f.Int64Var(&rollback.timeout,"timeout",300,"time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks)")
f.BoolVar(&rollback.wait,"wait",false,"if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful. It will wait for as long as --timeout")
f.StringVar(&rollback.description,"description","","specify a description for the release")
// MockReleaseOptions allows for user-configurable options on mock release objects.
typeMockReleaseOptionsstruct{
Namestring
Versionint32
Chart*chart.Chart
StatusCoderelease.Status_Code
Namespacestring
Namestring
Versionint32
Chart*chart.Chart
StatusCoderelease.Status_Code
Namespacestring
Descriptionstring
}
// ReleaseMock creates a mock release object based on options set by MockReleaseOptions. This function should typically not be used outside of testing.