refactor: 调整helm chart目录结构

This commit is contained in:
zhangxinhui02
2025-10-31 10:42:45 +08:00
parent cf41b36572
commit e983c938f7
23 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{{- if .Values.sqlite_web.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-maibot-sqlite-web
namespace: {{ .Release.Namespace }}
labels:
app: {{ .Release.Name }}-maibot-sqlite-web
spec:
ports:
- name: webui
port: {{ .Values.sqlite_web.service.port }}
protocol: TCP
targetPort: 8080
{{- if eq .Values.sqlite_web.service.type "NodePort" }}
nodePort: {{ .Values.sqlite_web.service.nodePort | default nil }}
{{- end }}
selector:
app: {{ .Release.Name }}-maibot-sqlite-web
type: {{ .Values.sqlite_web.service.type }}
{{- end }}