apiVersion: v1 kind: Service metadata: name: {{ include "tandoor.fullname" . }}-gunicorn namespace: {{ include "tandoor.namespace" . }} labels: {{- include "tandoor.labels" . | nindent 4 }} spec: type: {{ .Values.service.gunicorn.type }} ports: - port: {{ .Values.service.gunicorn.port }} targetPort: gunicorn protocol: TCP name: {{ .Values.service.gunicorn.name }} selector: {{- include "tandoor.selectorLabels" . | nindent 4 }} --- apiVersion: v1 kind: Service metadata: name: {{ include "tandoor.fullname" . }}-nginx namespace: {{ include "tandoor.namespace" . }} labels: {{- include "tandoor.labels" . | nindent 4 }} spec: type: {{ .Values.service.nginx.type }} ports: - port: {{ .Values.service.nginx.port }} targetPort: http protocol: TCP name: {{ .Values.service.nginx.name }} selector: {{- include "tandoor.selectorLabels" . | nindent 4 }}