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
6c7bd270
Unverified
Commit
6c7bd270
authored
Oct 16, 2020
by
nanaboat
Committed by
GitHub
Oct 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added volumes for chronograf. (#219)
* added volumes for chronograf. * feat: add ability to provide volume and mountPoints
parent
0f91d6bb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
Chart.yaml
charts/chronograf/Chart.yaml
+1
-1
deployment.yaml
charts/chronograf/templates/deployment.yaml
+10
-0
values.yaml
charts/chronograf/values.yaml
+9
-0
No files found.
charts/chronograf/Chart.yaml
View file @
6c7bd270
apiVersion
:
v1
name
:
chronograf
version
:
1.1.1
7
version
:
1.1.1
8
appVersion
:
1.8.0
description
:
Open-source web application written in Go and React.js that provides
the tools to visualize your monitoring data and easily create alerting and automation
...
...
charts/chronograf/templates/deployment.yaml
View file @
6c7bd270
...
...
@@ -175,6 +175,13 @@ spec:
volumeMounts
:
-
name
:
data
mountPath
:
/var/lib/chronograf
{{
- range .Values.volumeMounts
}}
-
name
:
{{
.name
}}
mountPath
:
{{
.mountPath
}}
{{
- end
}}
{{
- if .Values.mountPoints
}}
{{
toYaml .Values.mountPoints | indent 8
}}
{{
- end
}}
resources
:
{{
toYaml .Values.resources | indent 10
}}
{{
- with .Values.nodeSelector
}}
...
...
@@ -197,3 +204,6 @@ spec:
{{
else
}}
emptyDir
:
{}
{{
end
}}
{{
- if .Values.volumes
}}
{{
toYaml .values.volumes | indent 6
}}
{{
- end
}}
charts/chronograf/values.yaml
View file @
6c7bd270
...
...
@@ -122,3 +122,12 @@ env:
## The name of a secret in the same kubernetes namespace which contain values to be added to the environment
## This can be useful for auth tokens, etc
envFromSecret
:
"
"
# volumes:
# - name: chronograf-output-influxdb2
# configMap:
# name: "chronograf-output-influxdb2"
# mountPoints:
# - name: chronograf-output-influxdb2
# mountPath: /var/lib/chronograf/conf.d
# subPath: influxdb2.conf
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