mirror of
https://gitlab.com/oecis/charts.git
synced 2024-11-15 00:28:59 +00:00
34 lines
932 B
YAML
34 lines
932 B
YAML
|
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 }}
|