File tree 2 files changed +0
-27
lines changed
2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change 28
28
nodePort : {{ .Values.coder.service.httpsNodePort }}
29
29
{{ end }}
30
30
{{- end }}
31
- {{- range .Values.coder.env }}
32
- {{- if eq .name "CODER_PROMETHEUS_ENABLE" }}
33
- {{/*
34
- This sadly has to be nested to avoid evaluating the second part
35
- of the condition too early and potentially getting type errors if
36
- the value is not a string (like a `valueFrom`). We do not support
37
- ` valueFrom` for this env var specifically.
38
- */}}
39
- {{- if eq .value "true" }}
40
- - name : " prometheus-http"
41
- port : 2112
42
- targetPort : " prometheus-http"
43
- protocol : TCP
44
- {{ if eq $.Values.coder.service.type "NodePort" }}
45
- nodePort : {{ $.Values.coder.service.prometheusNodePort }}
46
- {{ end }}
47
- {{- end }}
48
- {{- end }}
49
- {{- end }}
50
31
{{- if eq "LoadBalancer" .Values.coder.service.type }}
51
32
{{- with .Values.coder.service.loadBalancerIP }}
52
33
loadBalancerIP : {{ . | quote }}
Original file line number Diff line number Diff line change 93
93
94
94
nodePort:
95
95
96
-
97
- - name: "prometheus-http"
98
- port: 2112
99
- targetPort: "prometheus-http"
100
- protocol: TCP
101
-
102
- nodePort: 31112
103
-
104
96
selector:
105
97
app.kubernetes.io/name: coder
106
98
app.kubernetes.io/instance: release-name
You can’t perform that action at this time.
0 commit comments