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 }}