[syslog-ng] Add syslog-ng Chart (#1567)

Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
Simon Caron 2022-05-15 09:15:06 -04:00 committed by GitHub
parent 39814b662e
commit 31c1b26010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 161 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl

View File

@ -0,0 +1,24 @@
---
apiVersion: v2
appVersion: 3.30.1
description: syslog-ng allows you to flexibly collect, parse, classify, rewrite and correlate logs.
name: syslog-ng
version: 1.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- syslog-ng
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/syslog-ng
icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/syslog-ng-logo.png
sources:
- https://hub.docker.com/r/linuxserver/syslog-ng
maintainers:
- name: simoncaron
email: simon.caron@protonmail.com
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 4.4.2
annotations:
artifacthub.io/changes: |-
- kind: added
description: Initial version

View File

@ -0,0 +1,42 @@
# syslog-ng
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 3.30.1](https://img.shields.io/badge/AppVersion-3.30.1-informational?style=flat-square)
syslog-ng allows you to flexibly collect, parse, classify, rewrite and correlate logs.
**Homepage:** <https://github.com/k8s-at-home/charts/tree/master/charts/stable/syslog-ng>
## Maintainers
| Name | Email | Url |
| ---- | ------ | --- |
| simoncaron | simon.caron@protonmail.com | |
## Source Code
* <https://hub.docker.com/r/linuxserver/syslog-ng>
## Requirements
Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 4.4.2 |
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | See below | environment variables. See more environment variables in the [syslog-ng documentation](https://syslog-ng.org/docs). |
| env.PGID | string | `"1001"` | Set the container group id |
| env.PUID | string | `"1001"` | Set the container user id |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"linuxserver/syslog-ng"` | image repository |
| image.tag | string | `"3.30.1"` | image tag |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v0.1.1](https://github.com/k8s-at-home/helm-docs/releases/v0.1.1)

View File

@ -0,0 +1,9 @@
{{- define "custom.custom.configuration.header" -}}
## Custom configuration
{{- end -}}
{{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }}
N/A
{{- end -}}

View File

@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@ -0,0 +1 @@
{{ include "common.all" . }}

View File

@ -0,0 +1,58 @@
#
# 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