File tree 4 files changed +29
-1
lines changed
4 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type: application
19
19
# This is the chart version. This version number should be incremented each time you make changes
20
20
# to the chart and its templates, including the app version.
21
21
# Versions are expected to follow Semantic Versioning (https://semver.org/)
22
- version : 0.2.0
22
+ version : 0.2.1
23
23
24
24
# This is the version number of the application being deployed. This version number should be
25
25
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -66,10 +66,24 @@ spec:
66
66
- name : ATUIN_REGISTER_WEBHOOK_USERNAME
67
67
value : {{ .Values.atuin.hooks.username }}
68
68
{{- end }}
69
+
70
+ {{- if .Values.atuin.metrics.enabled }}
71
+ - name : ATUIN_METRICS__ENABLE
72
+ value : true
73
+ - name : ATUIN_METRICS__HOST
74
+ value : {{ .Values.atuin.metrics.host }}
75
+ - name : ATUIN_METRICS__PORT
76
+ value : {{ .Values.atuin.metrics.port}}
77
+ {{- end }}
69
78
ports :
70
79
- name : http
71
80
containerPort : {{ .Values.service.port }}
72
81
protocol : TCP
82
+ {{- if .Values.atuin.metrics.enabled }}
83
+ - name : metrics
84
+ containerPort : {{ .Values.atuin.metrics.port }}
85
+ protocol : TCP
86
+ {{- end }}
73
87
livenessProbe :
74
88
httpGet :
75
89
path : /
Original file line number Diff line number Diff line change @@ -7,9 +7,19 @@ metadata:
7
7
spec :
8
8
type : {{ .Values.service.type }}
9
9
ports :
10
+
10
11
- port : {{ .Values.service.port }}
11
12
targetPort : http
12
13
protocol : TCP
13
14
name : http
15
+
16
+
17
+ {{- if .Values.atuin.metrics.enabled }}
18
+ - port : {{ .Values.atuin.metrics.port }}
19
+ targetPort : metrics
20
+ protocol : TCP
21
+ name : metrics
22
+ {{- end }}
23
+
14
24
selector :
15
25
{{- include "atuin.selectorLabels" . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ atuin:
32
32
username : " Atuin"
33
33
url : " "
34
34
35
+ metrics :
36
+ enabled : false
37
+ host : " 0.0.0.0"
38
+ port : 9001
35
39
36
40
logLevel : info
37
41
You can’t perform that action at this time.
0 commit comments