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

@@ -2,9 +2,9 @@ apiVersion: v1
entries:
youtubedl-material:
- apiVersion: v1
created: "2020-12-31T16:18:15.8900481-05:00"
created: "2020-12-31T16:28:52.6357354-05:00"
description: A Material Design frontend for youtube-dl
digest: 3b70a7b4d1d316735ae73525e2adde46301f4404099454fcc512201b39c8d64e
digest: 79101bce7cbea7b1d19ea12c9826a82b0d64208826ed51929e46dbcb005766ce
home: https://github.com/Tzahi12345/YoutubeDL-Material/
icon: https://i.imgur.com/IKOlr0N.png
keywords:
@@ -19,4 +19,4 @@ entries:
urls:
- youtubedl-material-0.0.1.tgz
version: 0.0.1
generated: "2020-12-31T16:18:15.8890301-05:00"
generated: "2020-12-31T16:28:52.6337326-05:00"

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