Files
truecharts/charts/stable/valheim/questions.yaml
T
DanandGitHub b71eb0f9ef fix(valheim): fix open portal button (#4929)
* fix(valheim): remove unnecessary quotes

* fix(valheim): order variables consistently

Keep the top level boolean values for groups of settings ahead of the
remaining settings.

* fix(valheim): remove extra port

This port is no longer required:
  https://valheimbugs.featureupvote.com/suggestions/219538/please-clarify-is-port-2458-needed-for-dedicated-servers

* fix(valheim): include the portalLink directly

Move from the Include template to directly including the contents in
advance of changing the default "open" port.

* fix(valheim): fix open portal button

The "Open" link previously opened the STATUS_HTTP_PORT, which serves a
status.json generated by querying the Valheim server's query port.  Now
it opens the SUPERVISOR_HTTP_PORT which presents a status and control
web interface for the various processes running under the supervisor.

This seems much more useful than the blank default and JSON file
available in the other server.

* fix(valheim): bump minor version
2022-11-30 21:28:34 +02:00

277 lines
8.5 KiB
YAML

# Include{groups}
portals:
open:
protocols:
- "$kubernetes-resource_configmap_portal_protocol"
host:
- "$kubernetes-resource_configmap_portal_host"
ports:
- "$variable-service.supervisor.ports.supervisor.port"
questions:
# Include{global}
# Include{controller}
# Include{replicas}
# Include{replica1}
# Include{controllerExpertExtraArgs}
- variable: secretEnv
group: App Configuration
label: Image Secrets
schema:
additional_attrs: true
type: dict
attrs:
- variable: SUPERVISOR_HTTP_USER
label: SUPERVISOR_HTTP_USER
schema:
type: string
default: admin
required: true
- variable: SUPERVISOR_HTTP_PASS
label: SUPERVISOR_HTTP_PASS
schema:
type: string
required: true
private: true
default: REPLACETHIS
- variable: SERVER_PASS
label: SERVER_PASS
schema:
type: string
required: true
private: true
default: REPLACETHIS
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: STATUS_HTTP
label: STATUS_HTTP
schema:
type: boolean
default: true
- variable: SUPERVISOR_HTTP
label: SUPERVISOR_HTTP
schema:
type: boolean
default: true
- variable: SERVER_NAME
label: SERVER_NAME
schema:
type: string
default: My Server
required: true
- variable: WORLD_NAME
label: WORLD_NAME
schema:
type: string
default: Dedicated
required: true
- variable: SERVER_PUBLIC
label: SERVER_PUBLIC
schema:
type: boolean
default: true
- variable: UPDATE_INTERVAL
label: UPDATE_INTERVAL
schema:
type: int
default: 10800
required: true
- variable: BACKUPS
label: BACKUPS
schema:
type: boolean
default: true
- variable: BACKUPS_INTERVAL
label: BACKUPS_INTERVAL
schema:
type: int
default: 43200
required: true
- variable: BACKUPS_DIRECTORY
label: BACKUPS_DIRECTORY
schema:
type: string
default: /backups
required: true
- variable: BACKUPS_MAX_AGE
label: BACKUPS_MAX_AGE
schema:
type: int
default: 3
required: true
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
label: Main Service
description: The Primary service on which the healthcheck runs, often the webUI
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: Main 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: 9010
required: true
- variable: supervisor
label: supervisor Service
description: The supervisor service
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: supervisor
label: supervisor 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: 9011
required: true
- variable: valheim
label: valheim Service
description: The valheim Game service
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: valheim1
label: valheim-1 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: 2456
required: true
- variable: valheim2
label: valheim-2 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: 2457
required: true
# Include{serviceExpertRoot}
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the Application Configuration.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: backups
label: App backups Storage
description: Stores the Application backups.
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: Main Ingress
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
- variable: supervisor
label: supervisor Ingress
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressList}
# Include{security}
# Include{securityContextAdvancedRoot}
- variable: privileged
label: Privileged mode
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: ReadOnly Root Filesystem
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: Allow Privilege Escalation
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: runAsNonRoot
schema:
type: boolean
default: false
# Include{podSecurityContextRoot}
- variable: runAsUser
label: runAsUser
description: The UserID of the user running the application
schema:
type: int
default: 0
- variable: runAsGroup
label: runAsGroup
description: The groupID this App of the user running the application
schema:
type: int
default: 0
- variable: fsGroup
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568
# Include{podSecurityContextAdvanced}
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{vpn}
# Include{documentation}