fix(neko): cleanup (#3390)

* fix(neko): cleanup

* add neko images

* one more

* rename

* lint

* update some images

* update images
This commit is contained in:
Stavros Kois
2022-08-12 23:32:07 +03:00
committed by GitHub
parent a8f0d12430
commit 7bf4eabc04
19 changed files with 234 additions and 70 deletions
+8 -8
View File
@@ -1,7 +1,3 @@
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- MediaApp-Video
apiVersion: v2
appVersion: "latest"
dependencies:
@@ -9,12 +5,12 @@ dependencies:
repository: https://library-charts.truecharts.org
version: 10.4.9
deprecated: false
description: "Neko is an Open-Source self-hosted alternative to rabb.it(deprecated).\r\n"
home: https://truecharts.org/docs/charts/incubator/neko
icon: https://truecharts.org/img/hotlink-ok/chart-icons/neko.png
description: "A self hosted virtual browser that runs in docker"
home: https://github.com/truecharts/charts/tree/master/charts/incubator/neko
icon: https://truecharts.org/img/chart-icons/neko.png
keywords:
- neko
- MediaApp-Video
- video
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
@@ -26,3 +22,7 @@ sources:
- https://hub.docker.com/r/m1k1o/neko/
type: application
version: 0.0.16
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |
- media
@@ -0,0 +1 @@
imageSelector: "imageBrave"
@@ -0,0 +1 @@
imageSelector: "imageChrome"
@@ -0,0 +1 @@
imageSelector: "imageChromium"
@@ -0,0 +1 @@
imageSelector: "imageEdge"
@@ -0,0 +1 @@
imageSelector: "imageRemmina"
+1
View File
@@ -0,0 +1 @@
imageSelector: "imageTor"
@@ -0,0 +1 @@
imageSelector: "imageVivaldi"
+1
View File
@@ -0,0 +1 @@
imageSelector: "imageVlc"
@@ -0,0 +1 @@
imageSelector: "imageVncviewer"
@@ -0,0 +1 @@
imageSelector: "imageXfce"
+120 -34
View File
@@ -4,6 +4,35 @@ portals:
# Include{portalLink}
questions:
# Include{global}
- variable: imageSelector
group: "Container Image"
label: "Select Image"
schema:
type: string
default: "image"
enum:
- value: "image"
description: "Firefox"
- value: "imageBrave"
description: "Brave"
- value: "imageChrome"
description: "Chrome"
- value: "imageChromium"
description: "Chromium"
- value: "imageEdge"
description: "Edge"
- value: "imageRemmina"
description: "Remmina"
- value: "imageTor"
description: "Tor"
- value: "imageVivaldi"
description: "Vivaldi"
- value: "imageVlc"
description: "Vlc"
- value: "imageVncviewer"
description: "Vncviewer"
- value: "imageXfce"
description: "Xfce"
# Include{controller}
# Include{controllerDeployment}
# Include{replicas}
@@ -12,6 +41,25 @@ questions:
# Include{recreate}
# Include{controllerExpert}
# Include{controllerExpertExtraArgs}
- variable: secretEnv
group: "Container Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: NEKO_PASSWORD
label: "NEKO_PASSWORD"
schema:
type: string
default: ""
private: true
- variable: NEKO_PASSWORD_ADMIN
label: "NEKO_PASSWORD_ADMIN"
schema:
type: string
default: ""
private: true
- variable: env
group: "Container Configuration"
label: "Image Environment"
@@ -19,36 +67,48 @@ questions:
additional_attrs: true
type: dict
attrs:
- variable: NEKO_PASSWORD
label: 'NEKO_PASSWORD'
description: "Container Variable NEKOPASSWORD"
schema:
type: string
default: "ChangeMePls-<3"
- variable: NEKO_PASSWORD_ADMIN
label: 'NEKO_PASSWORD_ADMIN'
description: "Container Variable NEKOPASSWORDADMIN"
schema:
type: string
default: "ChangeMeAlsoPls_:)"
- variable: NEKO_NAT1TO1
label: 'NEKO_NAT1TO1'
description: "Enter the IP of your TrueNAS-Server (or your defined IP in Custom br0 mode)"
schema:
type: string
default: "192.168.1.x"
- variable: NEKO_EPR
label: 'NEKO_EPR'
description: "Container Variable NEKOEPR"
schema:
type: string
default: "52000-52100"
- variable: NEKO_SCREEN
label: 'NEKO_SCREEN'
description: "Container Variable NEKOSCREEN"
label: "NEKO_SCREEN"
description: "Resolution after startup. Only Admins can change this later."
schema:
type: string
default: "1920x1080@30"
- variable: NEKO_CONTROL_PROTECTION
label: "NEKO_CONTROL_PROTECTION"
description: "Control protection means, users can gain control only if at least one admin is in the room."
schema:
type: boolean
default: false
- variable: NEKO_IMPLICIT_CONTROL
label: "NEKO_IMPLICIT_CONTROL"
description: "If enabled members can gain control implicitly, they don't need to request control."
schema:
type: boolean
default: false
- variable: NEKO_PROXY
label: "NEKO_PROXY"
description: "Enable reverse proxy mode, so that neko trusts X-Forwarded-For headers."
schema:
type: boolean
default: false
- variable: NEKO_LOCKS
label: "NEKO_LOCKS"
description: "Resources, that will be locked when starting, separated by whitespace."
schema:
type: string
default: "192.168.1.x"
- variable: NEKO_NAT1TO1
label: "NEKO_NAT1TO1"
description: "Enter the IP of your TrueNAS-Server"
schema:
type: string
default: "192.168.1.x"
- variable: NEKO_IPFETCH
label: "NEKO_IPFETCH"
description: "Automatically fetch IP address from given URL when NEKO_NAT1TO1 is not specified."
schema:
type: string
default: "http://checkip.amazonaws.com"
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
@@ -70,7 +130,7 @@ questions:
description: "This port exposes the container port on the service"
schema:
type: int
default: 6530
default: 10294
required: true
# Include{advancedPortHTTP}
- variable: targetPort
@@ -79,16 +139,15 @@ questions:
schema:
type: int
default: 8080
- variable: port52000
label: 'port52000 service'
description: "Needed for Webrtc Communication"
- variable: mux-udp
label: "mux-udp service"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelector}
- variable: port52000
label: "port52000 Service Port Configuration"
- variable: mux-udp
label: "mux-udp Service Port Configuration"
schema:
additional_attrs: true
type: dict
@@ -98,7 +157,7 @@ questions:
description: "This port exposes the container port on the service"
schema:
type: int
default: 52000
default: 52100
required: true
# Include{advancedPortUDP}
- variable: targetPort
@@ -106,7 +165,34 @@ questions:
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 52000
default: 52100
- variable: mux-tcp
label: "mux-tcp service"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelector}
- variable: mux-tcp
label: "mux-tcp Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 52100
required: true
# Include{advancedPortTCP}
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 52100
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
+86 -16
View File
@@ -1,37 +1,107 @@
env:
NEKO_EPR: 52000-52100
NEKO_NAT1TO1: 192.168.1.x
NEKO_PASSWORD: ChangeMePls-<3
NEKO_PASSWORD_ADMIN: ChangeMeAlsoPls_:)
NEKO_SCREEN: 1920x1080@30
image:
repository: tccr.io/truecharts/neko-firefox
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/neko
tag: latest@sha256:31cc4b580176cb9dd827faceec767125bcd9cbc88e834ef69eb621af3128894c
persistence: {}
tag: latest@sha256:d703762e99ed1d36b360be7a8cba1d69a3372db37225a3b544f85c5d1f5390cf
imageBrave:
repository: tccr.io/truecharts/neko-brave
pullPolicy: IfNotPresent
tag: latest@sha256:c6a9293e73ce248c62b941d8877a506939def0ac105f8cd7475eeeabc9ff7ebf
imageChrome:
repository: tccr.io/truecharts/neko-chrome
pullPolicy: IfNotPresent
tag: latest@sha256:3d5c18318d5c07c5cf6e3733811cca72044db78e740cbc5a1032764ddd2c2ce6
imageChromium:
repository: tccr.io/truecharts/neko-chromium
pullPolicy: IfNotPresent
tag: latest@sha256:796e8fa62372299f41a86bada76981f71b6e404ac927871d0a5bae53cf6ed384
imageEdge:
repository: tccr.io/truecharts/neko-msedge
pullPolicy: IfNotPresent
tag: latest@sha256:d23c209da9491290e0c26e4c12a94aef9b630ac49cf85c06eb965d58f99b0c1a
imageRemmina:
repository: tccr.io/truecharts/neko-remmina
pullPolicy: IfNotPresent
tag: latest@sha256:a8aa398d954531e9282bd9d3fb9fff729d34364975a58f62675828f33374997a
imageTor:
repository: tccr.io/truecharts/neko-tor
pullPolicy: IfNotPresent
tag: latest@sha256:bd5a1186f39d03335969b70daa8dc67b1ecbe02c64256e2cf655c8b691ebc303
imageVivaldi:
repository: tccr.io/truecharts/neko-vivaldi
pullPolicy: IfNotPresent
tag: latest@sha256:c212091ef7c8fb4785272498be36ab26bf34875fa3baea5dc318d73ea3be67d1
imageVlc:
repository: tccr.io/truecharts/neko-vlc
pullPolicy: IfNotPresent
tag: latest@sha256:ee4e2414167726106608a6bd3c27de3c1bb8d3257ee930aa54bc631316a3bf8b
imageVncviewer:
repository: tccr.io/truecharts/neko-vncviewer
pullPolicy: IfNotPresent
tag: latest@sha256:9d6680979372ae561fd157cc973d8e73a826ccf68773314169d2d761564c184d
imageXfce:
repository: tccr.io/truecharts/neko-xfce
pullPolicy: IfNotPresent
tag: latest@sha256:96347d6d5f055a172f7c383d871c61b6674d37c93177194e4a0beed127d1bc05
imageSelector: "image"
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
secretEnv:
NEKO_PASSWORD: userpass
NEKO_PASSWORD_ADMIN: adminpass
env:
NEKO_UDPMUX: 52100
NEKO_TCPMUX: 52100
# User Defined
NEKO_SCREEN: 1920x1080@30
NEKO_CONTROL_PROTECTION: false
NEKO_IMPLICIT_CONTROL: false
NEKO_LOCKS: ""
NEKO_NAT1TO1: ""
NEKO_IPFETCH: ""
NEKO_PROXY: true
service:
main:
enabled: true
ports:
main:
enabled: true
port: 6530
port: 10294
protocol: HTTP
targetPort: 8080
port52000:
mux-udp:
enabled: true
ports:
port52000:
mux-udp:
enabled: true
port: 52000
port: 52100
protocol: UDP
targetPort: 52000
targetPort: 52100
mux-tcp:
enabled: true
ports:
mux-tcp:
enabled: true
port: 52100
protocol: TCP
targetPort: 52100
portal:
enabled: true