Signed-off-by: Danilo Patrucco <danilo.patrucco@gmail.com>
pull/13205/head
Danilo Patrucco 1 year ago
parent 3a0140552d
commit 549082379c

@ -9,7 +9,7 @@ import (
"helm.sh/helm/v3/pkg/chartutil" "helm.sh/helm/v3/pkg/chartutil"
"helm.sh/helm/v3/pkg/lint" "helm.sh/helm/v3/pkg/lint"
"helm.sh/helm/v3/pkg/lint/rules" // "helm.sh/helm/v3/pkg/lint/rules"
"helm.sh/helm/v3/pkg/lint/support" "helm.sh/helm/v3/pkg/lint/support"
) )

@ -25,7 +25,7 @@ import (
func All(basedir string, values map[string]interface{}, namespace string, _ bool) support.Linter { func All(basedir string, values map[string]interface{}, namespace string, _ bool) support.Linter {
return AllWithKubeVersion(basedir, values, namespace, nil, "") return AllWithKubeVersion(basedir, values, namespace, nil, "")
} }
func AllWithKubeVersion(chartPath string, vals map[string]interface{}, namespace string, kubeVersion *chartutil.KubeVersion, ignoreFilePath string) support.Linter func AllWithKubeVersion(basedir string, values map[string]interface{}, namespace string, kubeVersion *chartutil.KubeVersion, lintIgnoreFile string) support.Linter {
chartDir, _ := filepath.Abs(basedir) chartDir, _ := filepath.Abs(basedir)
var ignorePatterns []string var ignorePatterns []string
if lintIgnoreFile != "" { if lintIgnoreFile != "" {

Loading…
Cancel
Save