Fixed bug in deployment of chart and merged two service files

This commit is contained in:
Isaac Abadi
2020-12-31 16:29:22 -05:00
parent 06636fa2cb
commit 75b081603f
5 changed files with 11 additions and 23 deletions

View File

@@ -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 }}

View File

@@ -34,7 +34,8 @@ spec:
imagePullPolicy: ""
name: ytdl-material
ports:
- containerPort: http
- containerPort: 17442
name: http
resources: {}
volumeMounts:
- mountPath: /app/appdata

View File

@@ -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: {}