Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
789e411d
Commit
789e411d
authored
Oct 14, 2016
by
Matt Butcher
Committed by
GitHub
Oct 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1370 from prydonius/1369-fix-yaml-validation
fix(lint): use correct hash key for rendered tmpl
parents
70a9e4aa
d81ac482
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
template.go
pkg/lint/rules/template.go
+1
-1
No files found.
pkg/lint/rules/template.go
View file @
789e411d
...
...
@@ -94,7 +94,7 @@ func Templates(linter *support.Linter) {
// NOTE, disabled for now, Refs https://github.com/kubernetes/helm/issues/1037
// linter.RunLinterRule(support.WarningSev, path, validateQuotes(string(preExecutedTemplate)))
renderedContent
:=
renderedContentMap
[
file
Name
]
renderedContent
:=
renderedContentMap
[
file
path
.
Join
(
chart
.
GetMetadata
()
.
Name
,
fileName
)
]
var
yamlStruct
K8sYamlStruct
// Even though K8sYamlStruct only defines Metadata namespace, an error in any other
// key will be raised as well
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment