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,19 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-maibot-adapter
namespace: {{ .Release.Namespace }}
labels:
app: {{ .Release.Name }}-maibot-adapter
spec:
ports:
- name: napcat-ws
port: {{ .Values.adapter.service.port }}
protocol: TCP
targetPort: 8095
{{- if eq .Values.adapter.service.type "NodePort" }}
nodePort: {{ .Values.adapter.service.nodePort | default nil }}
{{- end }}
selector:
app: {{ .Release.Name }}-maibot-adapter
type: {{ .Values.adapter.service.type }}