apiVersion: v1 kind: Service metadata: name: nginx namespace: {{ .Values.namespace }} spec: selector: {app: nginx} ports: - port: 80 targetPort: 80