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
d44b7ada
Commit
d44b7ada
authored
Mar 16, 2017
by
Matthew Fisher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document toYaml syntax in --set for annotations
parent
1512a332
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
using_helm.md
docs/using_helm.md
+9
-0
No files found.
docs/using_helm.md
View file @
d44b7ada
...
@@ -270,6 +270,15 @@ a backslash to escape the characters; `--set name=value1\,value2` will become:
...
@@ -270,6 +270,15 @@ a backslash to escape the characters; `--set name=value1\,value2` will become:
name
:
"
value1,value2"
name
:
"
value1,value2"
```
```
Similarly, you can escape dot sequences as well, which may come in handy when charts use the
`toYaml`
function to parse annotations, labels and node selectors. The syntax for
`--set nodeSelector."kubernetes\.io/role"=master`
becomes:
```
yaml
nodeSelector
:
kubernetes.io/role
:
master
```
The
`--set`
syntax is not as expressive as YAML, especially when it comes to
The
`--set`
syntax is not as expressive as YAML, especially when it comes to
collections. And there is currently no method for expressing things such as "set
collections. And there is currently no method for expressing things such as "set
the third item in a list to...".
the third item in a list to...".
...
...
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