fix(rcon-webadmin) wss +ws variables (#4384)

* wip fix(rcon-webadmin) wss +ws variables

* update persistence

* modify persisence mountpath

* fix persistence

* update chart and version

* set persistence to db

* envs

* Update charts/stable/rcon-webadmin/values.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* bump

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Xstar97
2022-11-20 16:25:59 +02:00
committed by GitHub
co-authored by Stavros Kois
parent 90ca887adf
commit 49a4adb22a
3 changed files with 21 additions and 10 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
apiVersion: v2 apiVersion: v2
appVersion: "latest" appVersion: "0.14.1"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
@@ -23,7 +23,7 @@ sources:
- https://github.com/rcon-web-admin/rcon-web-admin - https://github.com/rcon-web-admin/rcon-web-admin
- https://hub.docker.com/r/itzg/rcon/ - https://hub.docker.com/r/itzg/rcon/
type: application type: application
version: 3.0.1 version: 3.0.2
annotations: annotations:
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U truecharts.org/grade: U
@@ -91,6 +91,18 @@ questions:
schema: schema:
type: int type: int
default: 25575 default: 25575
- variable: rwa_websocket_url_ssl
label: RWA WEBSOCKET URL SSL
description: SSL WebSocket URL
schema:
type: string
default: ""
- variable: rwa_websocket_url
label: RWA WEBSOCKET URL
description: WebSocket URL
schema:
type: string
default: ""
- variable: rwa_restrict_commands - variable: rwa_restrict_commands
label: RWA RESTRICT COMMANDS label: RWA RESTRICT COMMANDS
description: Prevent the initial user user executing these commands description: Prevent the initial user user executing these commands
+7 -8
View File
@@ -1,7 +1,7 @@
image: image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
repository: tccr.io/truecharts/rcon-webadmin repository: tccr.io/truecharts/rcon-webadmin
tag: latest@sha256:2c1a5d92a3b8d30b2c3957eeb34b93910a8991fc886647f24438e57f73451f90 tag: 0.14.1@sha256:2c1a5d92a3b8d30b2c3957eeb34b93910a8991fc886647f24438e57f73451f90
podSecurityContext: podSecurityContext:
runAsGroup: 0 runAsGroup: 0
@@ -25,12 +25,10 @@ rcon:
rwa_server_name: minecraft rwa_server_name: minecraft
rwa_rcon_host: "" rwa_rcon_host: ""
rwa_rcon_port: 25575 rwa_rcon_port: 25575
rwa_restrict_commands: rwa_websocket_url_ssl: ""
- command1 rwa_websocket_url: ""
- command2 rwa_restrict_commands: []
rwa_restrict_widgets: rwa_restrict_widgets: []
- widget1
- widget2
env: env:
RWA_ADMIN: '{{ ternary "TRUE" "FALSE" .Values.rcon.rwa_admin }}' RWA_ADMIN: '{{ ternary "TRUE" "FALSE" .Values.rcon.rwa_admin }}'
@@ -43,7 +41,8 @@ env:
RWA_RCON_PORT: "{{ .Values.rcon.rwa_rcon_port }}" RWA_RCON_PORT: "{{ .Values.rcon.rwa_rcon_port }}"
RWA_RESTRICT_COMMANDS: '{{ join "," .Values.rcon.rwa_restrict_commands }}' RWA_RESTRICT_COMMANDS: '{{ join "," .Values.rcon.rwa_restrict_commands }}'
RWA_RESTRICT_WIDGETS: '{{ join "," .Values.rcon.rwa_restrict_widgets }}' RWA_RESTRICT_WIDGETS: '{{ join "," .Values.rcon.rwa_restrict_widgets }}'
RWA_WEBSOCKET_URL_SSL: "{{ .Values.rcon.rwa_websocket_url_ssl }}"
RWA_WEBSOCKET_URL: "{{ .Values.rcon.rwa_websocket_url }}"
service: service:
main: main:
ports: ports: