1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
apiVersion: v1 kind: Service metadata: name: {{ include "heimdall.name" . }}-service namespace: {{ .Release.Namespace }} labels: {{- include "heimdall.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} selector: {{- include "heimdall.selectorLabels" . | nindent 4 }} ports: - protocol: TCP port: {{ .Values.service.port }} targetPort: 80