#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#

image:
  # -- image repository
  repository: ghcr.io/linuxserver/syslog-ng
  # -- image tag
  # @default -- chart.appVersion
  tag:
  # -- image pull policy
  pullPolicy: IfNotPresent

# -- environment variables. See more environment variables in the [syslog-ng documentation](https://syslog-ng.org/docs).
# @default -- See below
env:
  # -- Set the container timezone
  TZ: UTC
  # -- Set the container user id
  PUID: "1001"
  # -- Set the container group id
  PGID: "1001"

# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
  main:
    ports:
      http:
        enabled: false
        primary: false
      syslog-tcp:
        primary: true
        enabled: true
        port: 601
        targetPort: 6601
      syslog-udp:
        enabled: true
        port: 514
        targetPort: 5514
        protocol: UDP
      syslog-tls:
        enabled: false
        port: 6514

# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
  config:
    enabled: true
    mountPath: /config

  logs:
    enabled: false
    mountPath: /var/log
