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