File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ apiVersion: v2
2
2
type : application
3
3
name : fritzbox-exporter
4
4
description : A Helm chart for fritzbox-exporter
5
- version : 0.0.2
5
+ version : 0.0.3
6
6
appVersion : " 1.0"
Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ spec:
34
34
{{- if $val.enabled }}
35
35
- name : {{ $key | quote }}
36
36
containerPort : {{ $val.port }}
37
- protocol : {{ $val.protocol | default "TCP" }}
37
+ protocol : {{ default "TCP" $val.protocol | quote }}
38
38
{{- end }}
39
39
{{- end }}
40
40
env :
41
41
{{- range $i, $val := .Values.env }}
42
42
- name : {{ $val.name | quote }}
43
43
value : {{ $val.value | quote }}
44
44
{{- end }}
45
- {{- if .Values.ports.metrics. enabled - }}
45
+ {{- if and .Values.ports.metrics .Values.ports.metrics. enabled }}
46
46
livenessProbe :
47
47
httpGet :
48
48
path : /metrics
Original file line number Diff line number Diff line change 20
20
- name : {{ $key | quote }}
21
21
port : {{ $val.port }}
22
22
targetPort : {{ $key | quote }}
23
- protocol : {{ $val.protocol | default "TCP" }}
23
+ protocol : {{ default "TCP" $val.protocol | quote }}
24
24
{{- end }}
25
25
{{- end }}
26
26
selector :
You can’t perform that action at this time.
0 commit comments