apiVersion: v1 kind: Service metadata: name: {{ include "yacy.fullname" . }} labels: {{- include "yacy.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.httpPort }} targetPort: http protocol: TCP name: http - port: {{ .Values.service.httpsPort }} targetPort: https protocol: TCP name: https selector: {{- include "yacy.selectorLabels" . | nindent 4 }}