1
0
镜像自地址 https://github.com/devcm-repo/helm-charts.git 已同步 2026-06-06 05:51:06 +00:00

feat(aiapi): add new Helm chart for New API and CLIProxyAPI deployment

这个提交包含在:
rohow
2026-05-01 22:20:19 +08:00
未验证
父节点 d58119bd09
当前提交 1df6d4737b
修改 12 个文件,包含 675 行新增0 行删除
@@ -0,0 +1,32 @@
{{- if .Values.cliproxyapi.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: "{{ include "aiapi.fullname" . }}-cliproxyapi"
labels:
{{- include "aiapi.labels" . | nindent 4 }}
app.kubernetes.io/component: cliproxyapi
{{- with .Values.cliproxyapi.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.cliproxyapi.ingress.className }}
ingressClassName: {{ .Values.cliproxyapi.ingress.className }}
{{- end }}
{{- with .Values.cliproxyapi.ingress.tls }}
tls:
{{- toYaml . | nindent 4 }}
{{- end }}
rules:
- host: {{ .Values.cliproxyapi.ingress.host }}
http:
paths:
- path: {{ .Values.cliproxyapi.ingress.path }}
pathType: {{ .Values.cliproxyapi.ingress.pathType }}
backend:
service:
name: "{{ include "aiapi.fullname" . }}-cliproxyapi"
port:
number: {{ .Values.cliproxyapi.service.port }}
{{- end }}