基于helm-dify 0.23.0 版本初始化

This commit is contained in:
2025-03-21 10:00:02 +08:00
parent d773ead144
commit 67b42e3e1c
196 changed files with 26165 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{{- if .Values.api.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "dify.api.fullname" . }}
labels:
{{ include "dify.labels" . | indent 4 }}
{{- if .Values.api.service.labels }}
{{ toYaml .Values.api.service.labels | indent 4 }}
{{- end }}
component: "api"
{{- with .Values.api.service.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
type: ClusterIP
{{- if .Values.api.service.clusterIP }}
clusterIP: {{ .Values.api.service.clusterIP }}
{{- end }}
ports:
- name: http-api
port: {{ .Values.api.service.port }}
protocol: TCP
targetPort: api
selector:
{{ include "dify.selectorLabels" . | indent 4 }}
component: "api"
{{- end }}