fix(acestream) code cleanup + env variables. (#7236)

* fix(acestream) code cleanup + env variables.

* update

* fix whitespace

---------

Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
This commit is contained in:
Xstar97TheNoob
2023-02-15 15:09:28 +00:00
committed by GitHub
parent 9f475b9d5b
commit 473156684e
3 changed files with 40 additions and 32 deletions
+8 -7
View File
@@ -1,15 +1,11 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- MediaServer-Video
apiVersion: v2 apiVersion: v2
appVersion: "latest" appVersion: "2.0.2.8"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 11.1.2
deprecated: false deprecated: false
description: "Acestream-engine" description: IPTV service providing streaming, playlist, search engine and epg.
home: https://truecharts.org/charts/incubator/acestream home: https://truecharts.org/charts/incubator/acestream
icon: https://truecharts.org/img/hotlink-ok/chart-icons/acestream.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/acestream.png
keywords: keywords:
@@ -26,4 +22,9 @@ sources:
- https://hub.docker.com/r/vstavrinov/acestream-service - https://hub.docker.com/r/vstavrinov/acestream-service
- https://github.com/vstavrinov/acestream-service - https://github.com/vstavrinov/acestream-service
type: application type: application
version: 2.0.17 version: 3.0.0
annotations:
truecharts.org/catagories: |
- MediaServer-Video
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+18 -18
View File
@@ -11,8 +11,8 @@ questions:
# Include{containerConfig} # Include{containerConfig}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: Main Service
description: "The Primary service on which the healthcheck runs, often the webUI" description: The Primary service on which the healthcheck runs, often the webUI
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -20,14 +20,14 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: main - variable: main
label: "Main Service Port Configuration" label: Main Service Port Configuration
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
description: "This port exposes the container port on the service" description: This port exposes the container port on the service
schema: schema:
type: int type: int
default: 8008 default: 8008
@@ -38,8 +38,8 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: acestreamcache - variable: acestreamcache
label: "acestreamcache Storage" label: App Cache Storage
description: "Stream cache data" description: Stores the Application Cache.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -48,7 +48,7 @@ questions:
# Include{persistenceList} # Include{persistenceList}
# Include{ingressRoot} # Include{ingressRoot}
- variable: main - variable: main
label: "Main Ingress" label: Main Ingress
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -60,41 +60,41 @@ questions:
# Include{security} # Include{security}
# Include{securityContextAdvancedRoot} # Include{securityContextAdvancedRoot}
- variable: privileged - variable: privileged
label: "Privileged mode" label: Privileged mode
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: readOnlyRootFilesystem - variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem" label: ReadOnly Root Filesystem
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: allowPrivilegeEscalation - variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation" label: Allow Privilege Escalation
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: runAsNonRoot - variable: runAsNonRoot
label: "runAsNonRoot" label: runAsNonRoot
schema: schema:
type: boolean type: boolean
default: false default: false
# Include{podSecurityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
description: "The UserID of the user running the application" description: The UserID of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: runAsGroup
description: The groupID this App of the user running the application" description: The groupID this App of the user running the application
schema: schema:
type: int type: int
default: 0 default: 0
- variable: fsGroup - variable: fsGroup
label: "fsGroup" label: fsGroup
description: "The group that should own ALL storage." description: The group that should own ALL storage.
schema: schema:
type: int type: int
default: 568 default: 568
+14 -7
View File
@@ -1,25 +1,32 @@
env: {}
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: tccr.io/truecharts/acestream repository: tccr.io/truecharts/acestream
tag: latest@sha256:c372e24593fe23dc0f34f143299526dbf4454bf9fc860c74839e5dd98249393a tag: 2.0.2.8@sha256:742c6e16126d819593fd5e041e2166ba789df76edfbd3a6c628b3b83800e6743
persistence:
acestreamcache:
enabled: true
mountPath: /srv/acestream/.ACEStream
podSecurityContext: podSecurityContext:
runAsGroup: 0 runAsGroup: 0
runAsUser: 0 runAsUser: 0
securityContext: securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: false runAsNonRoot: false
env:
SCHEME: "http"
ENTRY: "{{ .Values.service.main.ports.main.port }}"
PORT: "{{ .Values.service.main.ports.main.port }}"
service: service:
main: main:
ports: ports:
main: main:
port: 8008 port: 8008
protocol: TCP protocol: TCP
targetPort: 6878
persistence:
acestreamcache:
enabled: true
mountPath: /srv/acestream/.ACEStream
portal: portal:
enabled: true enabled: true