mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
feat: add timemachine Helm chart with deployment, service, and persistence configurations
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{{- if .Values.service.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "timemachine.fullname" . }}
|
||||
labels:
|
||||
{{- include "timemachine.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
selector:
|
||||
{{- include "timemachine.selectorLabels" . | nindent 4 }}
|
||||
ports:
|
||||
- name: smb
|
||||
port: {{ .Values.service.smbPort }}
|
||||
targetPort: smb
|
||||
protocol: TCP
|
||||
- name: netbios-ssn
|
||||
port: 139
|
||||
targetPort: netbios-ssn
|
||||
protocol: TCP
|
||||
- name: netbios-ns
|
||||
port: 137
|
||||
targetPort: netbios-ns
|
||||
protocol: UDP
|
||||
- name: netbios-dgm
|
||||
port: 138
|
||||
targetPort: netbios-dgm
|
||||
protocol: UDP
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user