镜像自地址
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
这个提交包含在:
@@ -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 }}
|
||||
在新议题中引用
屏蔽一个用户