aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/helm/sftp/templates/service.yaml
blob: f1c4d7901083b9e5fabca5cbd39410867df50b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apiVersion: v1
kind: Service
metadata:
  name: {{ include "sftp.fullname" . }}
  namespace: {{ include "sftp.namespace" . }}
  labels:
    {{ include "sftp.labels" . | nindent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.pod.port }}
      targetPort: {{ .Values.pod.port }}
      protocol: TCP
      name: {{ .Values.fullnameOverride }}
      nodePort: {{ .Values.service.port }}
  selector:
    {{ include "sftp.selectorLabels" . | nindent 4 }}