aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/helm/sftp/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/helm/sftp/templates/service.yaml')
-rw-r--r--robot/assets/helm/sftp/templates/service.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/robot/assets/helm/sftp/templates/service.yaml b/robot/assets/helm/sftp/templates/service.yaml
new file mode 100644
index 00000000..f1c4d790
--- /dev/null
+++ b/robot/assets/helm/sftp/templates/service.yaml
@@ -0,0 +1,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 }}