fix: 🐛 unify value name and add default (#58)
This commit is contained in:
1 parent
8a3acbfe46
commit
0e6f86bc8b
3 files changed
+4
-3
No files matched your search
@@ -47,7 +47,7 @@ spec:
|
||||
externalTrafficPolicy: {{ . }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: {{ .Values.service.portName | default "http" }}
|
||||
- name: {{ .Values.service.name | default "http" }}
|
||||
port: {{ .Values.service.port }}
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
|
||||
@@ -14,7 +14,7 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: {{ .Values.service.name }}
|
||||
- port: {{ .Values.service.name | default "http" }}
|
||||
{{- with .Values.metrics.serviceMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
@@ -23,7 +23,6 @@ spec:
|
||||
{{- end }}
|
||||
honorLabels: true
|
||||
path: {{ .Values.metrics.serviceMonitor.path }}
|
||||
port: {{ .Values.metrics.serviceMonitor.port }}
|
||||
scheme: {{ .Values.metrics.serviceMonitor.scheme }}
|
||||
{{- with .Values.metrics.serviceMonitor.tlsConfig }}
|
||||
tlsConfig:
|
||||
|
||||
Reference in new issue
Block a user