18 lines
489 B
YAML
18 lines
489 B
YAML
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 }} |