# yaml-language-server: $schema=./values.schema.json
image:
  pullPolicy: IfNotPresent
  repository: ghcr.io/ich777/terrariaserver
  tag: tshock@sha256:f851428d2889abe2030d73b90e2755d60cbbfe00d1d1e801b949d8b75ade28e9
persistence:
  serverfiles:
    enabled: true
    mountPath: /serverdata/serverfiles

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsGroup: 0
    runAsUser: 0
service:
  main:
    ports:
      main:
        port: 9014
        protocol: http
        targetPort: 8080
  tcp:
    enabled: true
    ports:
      tcp:
        enabled: true
        port: 7777
terraria:
  autocreate: "1"
  easy_game_params:
    noupnp: true
    secure: false
    steam: false
  game_params: []
  lang: en-US
  maxplayers: 16
  pass: secretpass
  seed: AwesomeSeed
  worldname: scale terraria
workload:
  main:
    podSpec:
      containers:
        main:
          envFrom:
            - secretRef:
                name: terraria-secret
