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
7fa5f315
Commit
7fa5f315
authored
Oct 07, 2016
by
Javier Cuevas
Committed by
GitHub
Oct 07, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docs regarding .Files.GetString and .Files.GetBytes
After #1021 ` .Files.GetString` does not exist any more.
parent
84b0b2c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
charts.md
docs/charts.md
+2
-2
No files found.
docs/charts.md
View file @
7fa5f315
...
@@ -287,8 +287,8 @@ sensitive_.
...
@@ -287,8 +287,8 @@ sensitive_.
-
`Files`
: A map-like object containing all non-special files in the chart. This
-
`Files`
: A map-like object containing all non-special files in the chart. This
will not give you access to templates, but will give you access to additional
will not give you access to templates, but will give you access to additional
files that are present. Files can be accessed using
`{{index .Files "file.name"}}`
files that are present. Files can be accessed using
`{{index .Files "file.name"}}`
or using the
`{{.Files.Get name}}`
or
`{{.Files.GetString name}}`
functions.
Note that
or using the
`{{.Files.Get name}}`
or
`{{.Files.GetString name}}`
functions.
You can
file data is returned as a
`[]byte`
unless
`{{.Files.GetString}}`
is used.
also access the contents of the file as
`[]byte`
using
`{{.Files.GetBytes}}`
**NOTE:**
Any unknown Chart.yaml fields will be dropped. They will not
**NOTE:**
Any unknown Chart.yaml fields will be dropped. They will not
be accessible inside of the
`Chart`
object. Thus, Chart.yaml cannot be
be accessible inside of the
`Chart`
object. Thus, Chart.yaml cannot be
...
...
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