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