apiVersion: v1 kind: Service metadata: name: {{ template "landing.name" . }} namespace: {{ .Values.namespace }} labels: app: {{ template "landing.name" . }} spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} targetPort: {{ .Values.service.port }} protocol: TCP selector: app: {{ template "landing.name" . }}