mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-02 19:51:27 +03:00
Fixed bug in deployment of chart and merged two service files
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "youtubedl-material.fullname" . }}
|
||||
labels:
|
||||
{{- include "youtubedl-material.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "youtubedl-material.selectorLabels" . | nindent 4 }}
|
||||
@@ -34,7 +34,8 @@ spec:
|
||||
imagePullPolicy: ""
|
||||
name: ytdl-material
|
||||
ports:
|
||||
- containerPort: http
|
||||
- containerPort: 17442
|
||||
name: http
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /app/appdata
|
||||
|
||||
@@ -10,11 +10,13 @@ metadata:
|
||||
io.kompose.service: ytdl-material
|
||||
name: ytdl-material
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- name: "8998"
|
||||
port: 8998
|
||||
targetPort: 17442
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
io.kompose.service: ytdl-material
|
||||
{{- include "youtubedl-material.selectorLabels" . | nindent 4 }}
|
||||
status:
|
||||
loadBalancer: {}
|
||||
|
||||
Reference in New Issue
Block a user