Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
influxdb
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
influxdb
Commits
b6b47692
Commit
b6b47692
authored
Jan 27, 2017
by
Amanda Cameron
Committed by
Adnan Abdulhussein
Jan 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[stable/kapacitor] Update to the recommended pvc patterns. (#450)
* Convert chart kapacitor to use the recommended pvc patterns * Update pvc.yaml * Update Chart.yaml * Update _helpers.tpl
parent
b50b8def
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
Chart.yaml
stable/kapacitor/Chart.yaml
+2
-3
_helpers.tpl
stable/kapacitor/templates/_helpers.tpl
+3
-3
pvc.yaml
stable/kapacitor/templates/pvc.yaml
+5
-1
values.yaml
stable/kapacitor/values.yaml
+4
-1
No files found.
stable/kapacitor/Chart.yaml
View file @
b6b47692
name
:
kapacitor
version
:
0.1.
0
version
:
0.1.
1
description
:
Chart for Chronograf
keywords
:
-
kapacitor
...
...
@@ -10,4 +10,4 @@ home: https://www.influxdata.com/time-series-platform/kapacitor/
maintainers
:
-
name
:
Jack Zampolin
email
:
jack@influxdb.com
engine
:
gotpl
\ No newline at end of file
engine
:
gotpl
stable/kapacitor/templates/_helpers.tpl
View file @
b6b47692
...
...
@@ -3,14 +3,14 @@
Expand
the
name
of
the
chart
.
*/
}
}
{{- define "name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc
24
-}}
{{- default .Chart.Name .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
(
by
the
DNS
naming
spec
).
We
truncate
at
63
chars
because
some
Kubernetes
name
fields
are
limited
to
this
(
by
the
DNS
naming
spec
).
*/
}
}
{{- define "fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc
24
-}}
{{- printf "%s-%s" .Release.Name $name | trunc
63 | trimSuffix "-"
-}}
{{- end -}}
stable/kapacitor/templates/pvc.yaml
View file @
b6b47692
...
...
@@ -9,7 +9,11 @@ metadata:
app
:
{{
template "fullname" .
}}
name
:
{{
template "fullname" .
}}
annotations
:
volume.alpha.kubernetes.io/storage-class
:
{{
.Values.persistence.storageClass | quote
}}
{{
- if .Values.persistence.storageClass
}}
volume.beta.kubernetes.io/storage-class
:
{{
.Values.persistence.storageClass | quote
}}
{{
- else
}}
volume.alpha.kubernetes.io/storage-class
:
default
{{
- end
}}
spec
:
accessModes
:
-
{{
.Values.persistence.accessMode | quote
}}
...
...
stable/kapacitor/values.yaml
View file @
b6b47692
...
...
@@ -17,7 +17,10 @@ service:
##
persistence
:
enabled
:
false
storageClass
:
generic
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
## Default: volume.alpha.kubernetes.io/storage-class: default
##
# storageClass:
accessMode
:
ReadWriteOnce
size
:
8Gi
...
...
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