File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
charts/node-exporter-textfiles Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.1.2
18
+ version : 0.1.3
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -35,14 +35,15 @@ spec:
35
35
{{- toYaml .resources | nindent 12 }}
36
36
env :
37
37
- name : SCRIPT
38
- value : " {{ .script }} "
38
+ value : {{ .script | quote }}
39
39
- name : OUTPUT_FILENAME
40
40
value : {{ .outputFilename | quote }}
41
41
- name : INTERVAL
42
- value : " {{ .interval }} "
42
+ value : {{ .interval | quote }}
43
43
{{- with .additionalEnv }}
44
44
{{- toYaml . | nindent 12 }}
45
45
{{- end}}
46
+ terminationMessagePath : {{ .terminationMessagePath | default $.Values.defaultTerminationMessagePath | quote }}
46
47
volumeMounts :
47
48
- mountPath : /var/lib/node_exporter
48
49
name : textfile
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ tolerations: []
47
47
48
48
affinity : {}
49
49
50
+ defaultTerminationMessagePath : " /tmp/termination-message"
51
+
50
52
additionalVolumes :
51
53
- name : textfile
52
54
hostPath :
@@ -65,6 +67,10 @@ textfiles:
65
67
# Defaults to `300`
66
68
interval : 900
67
69
additionalEnv : []
70
+ # If you want to customize the path, by default the termination message path
71
+ # is `/tmp/termination-message` to prevent issues with mounting the host's
72
+ # `/dev` directory
73
+ # terminationMessagePath: "/tmp/termination-message"
68
74
additionalVolumeMounts :
69
75
- mountPath : /dev
70
76
name : host-dev
You can’t perform that action at this time.
0 commit comments