cocopilot

This commit is contained in:
Sense T
2025-01-23 22:38:09 +08:00
parent e00474109d
commit 322b0781ac
8 changed files with 220 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "cocopilot.fullname" . | printf "%s-cocopilot"}}
labels:
app: {{ include "cocopilot.fullname" . | printf "%s-cocopilot"}}
{{- include "cocopilot.labels" . | nindent 4 }}
spec:
selector:
app: {{ include "cocopilot.fullname" . | printf "%s-cocopilot"}}
ports:
- port: {{.Values.service.port}}
targetPort: svc
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
type: {{ .Values.service.type }}