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
48553d0a
Commit
48553d0a
authored
Dec 21, 2016
by
Matt Butcher
Committed by
GitHub
Dec 21, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1740 from wilkers-steve/docs/change_trunc_length
docs(helm): change `trunc 24` in base charts
parents
b51ad7a0
0d9c6bee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
_helpers.tpl
docs/examples/nginx/templates/_helpers.tpl
+3
-3
No files found.
docs/examples/nginx/templates/_helpers.tpl
View file @
48553d0a
...
...
@@ -2,15 +2,15 @@
{
{
/*
Expand
the
name
of
the
chart
.
*/
}
}
{
{
define
"name"
}
}{
{
default
"nginx"
.
Values
.
nameOverride
|
trunc
24
|
trimSuffix
"-"
}
}{
{
end
}
}
{
{
define
"name"
}
}{
{
default
"nginx"
.
Values
.
nameOverride
|
trunc
63
|
trimSuffix
"-"
}
}{
{
end
}
}
{
{
/*
Create
a
default
fully
qualified
app
name
.
We
truncate
at
24
chars
because
some
Kubernetes
name
fields
are
limited
to
this
We
truncate
at
63
chars
because
some
Kubernetes
name
fields
are
limited
to
this
(
by
the
DNS
naming
spec
).
*/
}
}
{
{
define
"fullname"
}
}
{{- $name := default "nginx" .Values.nameOverride -}}
{
{
printf
"%s-%s"
.
Release
.
Name
$name
|
trunc
24
|
trimSuffix
"-"
-
}
}
{
{
printf
"%s-%s"
.
Release
.
Name
$name
|
trunc
63
|
trimSuffix
"-"
-
}
}
{
{
end
}
}
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