mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-02 17:10:18 +01:00
19 lines
655 B
YAML
19 lines
655 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "transfersh.fullname" . }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "transfersh.name" . }}
|
|
helm.sh/chart: {{ include "transfersh.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.externalPort }}
|
|
targetPort: {{ .Values.service.internalPort }}
|
|
protocol: TCP
|
|
name: {{ .Values.service.name }}
|
|
selector:
|
|
app.kubernetes.io/name: {{ include "transfersh.name" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|