apiVersion: v1 kind: Service metadata: name: {{ include "nginx-message.fullname" . }} spec: selector: app: {{ include "nginx-message.name" . }} ports: - protocol: TCP port: {{ .Values.service.port }} targetPort: 80 type: {{ .Values.service.type }}