fix: 修正类型问题

This commit is contained in:
zhangxinhui02
2025-08-20 02:58:21 +08:00
parent 93778370bf
commit 4c5c7137e7
12 changed files with 22 additions and 22 deletions

View File

@@ -13,7 +13,7 @@ spec:
protocol: TCP
targetPort: 80
{{- if eq .Values.statistics_dashboard.service.type "nodePort" }}
nodePort: {{ .Values.statistics_dashboard.service.nodePort }}
nodePort: {{ .Values.statistics_dashboard.service.nodePort | default nil }}
{{- end }}
selector:
app: {{ .Release.Name }}-maibot-statistics-dashboard