|
|
|
@ -41,18 +41,20 @@ import (
|
|
|
|
|
"k8s.io/helm/pkg/version"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// releaseNameMaxLen is the maximum length of a release name.
|
|
|
|
|
//
|
|
|
|
|
// As of Kubernetes 1.4, the max limit on a name is 63 chars. We reserve 10 for
|
|
|
|
|
// charts to add data. Effectively, that gives us 53 chars.
|
|
|
|
|
// See https://github.com/kubernetes/helm/issues/1528
|
|
|
|
|
const releaseNameMaxLen = 53
|
|
|
|
|
|
|
|
|
|
// NOTESFILE_SUFFIX that we want to treat special. It goes through the templating engine
|
|
|
|
|
// but it's not a yaml file (resource) hence can't have hooks, etc. And the user actually
|
|
|
|
|
// wants to see this file after rendering in the status command. However, it must be a suffix
|
|
|
|
|
// since there can be filepath in front of it.
|
|
|
|
|
const notesFileSuffix = "NOTES.txt"
|
|
|
|
|
const (
|
|
|
|
|
// releaseNameMaxLen is the maximum length of a release name.
|
|
|
|
|
//
|
|
|
|
|
// As of Kubernetes 1.4, the max limit on a name is 63 chars. We reserve 10 for
|
|
|
|
|
// charts to add data. Effectively, that gives us 53 chars.
|
|
|
|
|
// See https://github.com/kubernetes/helm/issues/1528
|
|
|
|
|
releaseNameMaxLen = 53
|
|
|
|
|
|
|
|
|
|
// NOTESFILE_SUFFIX that we want to treat special. It goes through the templating engine
|
|
|
|
|
// but it's not a yaml file (resource) hence can't have hooks, etc. And the user actually
|
|
|
|
|
// wants to see this file after rendering in the status command. However, it must be a suffix
|
|
|
|
|
// since there can be filepath in front of it.
|
|
|
|
|
notesFileSuffix = "NOTES.txt"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
// errMissingChart indicates that a chart was not provided.
|
|
|
|
|