|
|
@ -52,10 +52,10 @@ import (
|
|
|
|
|
|
|
|
|
|
|
|
// releaseNameMaxLen is the maximum length of a release name.
|
|
|
|
// 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
|
|
|
|
// As of Kubernetes 1.18, the max limit on a name is 253 chars. We reserve 10 for
|
|
|
|
// charts to add data. Effectively, that gives us 53 chars.
|
|
|
|
// charts to add data. Effectively, that gives us 231 chars.
|
|
|
|
// See https://github.com/helm/helm/issues/1528
|
|
|
|
// See https://github.com/helm/helm/issues/6006#issuecomment-652291971
|
|
|
|
const releaseNameMaxLen = 53
|
|
|
|
const releaseNameMaxLen = 231
|
|
|
|
|
|
|
|
|
|
|
|
// NOTESFILE_SUFFIX that we want to treat special. It goes through the templating engine
|
|
|
|
// 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
|
|
|
|
// but it's not a yaml file (resource) hence can't have hooks, etc. And the user actually
|
|
|
|