From 5707f196592bd33f12a32e884fc156a39537ce6c Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Tue, 22 Oct 2024 15:01:48 +0200 Subject: [PATCH] first gotify commit --- charts/gotify/.gitignore | 2 + charts/gotify/Chart.yaml | 18 ++++++++ charts/gotify/Makefile | 2 + charts/gotify/templates/base.tpl | 1 + charts/gotify/values.yaml | 79 ++++++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+) create mode 100644 charts/gotify/.gitignore create mode 100644 charts/gotify/Chart.yaml create mode 100644 charts/gotify/Makefile create mode 100644 charts/gotify/templates/base.tpl create mode 100644 charts/gotify/values.yaml diff --git a/charts/gotify/.gitignore b/charts/gotify/.gitignore new file mode 100644 index 0000000..2946e34 --- /dev/null +++ b/charts/gotify/.gitignore @@ -0,0 +1,2 @@ +Chart.lock +charts/ diff --git a/charts/gotify/Chart.yaml b/charts/gotify/Chart.yaml new file mode 100644 index 0000000..fac333e --- /dev/null +++ b/charts/gotify/Chart.yaml @@ -0,0 +1,18 @@ +--- +apiVersion: v2 +name: gotify +description: Gotify ยท a simple server for sending and receiving messages +type: application +version: 1.0.0 +appVersion: 2.5.0 +kubeVersion: ">=1.27.0" +home: https://gotify.net/ +sources: + - https://git.rre.nu/jonas/helm-charts +maintainers: + - name: Jonas Forsberg + email: barregargamel@gmail.com +dependencies: + - name: lib + repository: "oci://repo.rre.nu/helm" + version: 1.0.0 diff --git a/charts/gotify/Makefile b/charts/gotify/Makefile new file mode 100644 index 0000000..6cd25d8 --- /dev/null +++ b/charts/gotify/Makefile @@ -0,0 +1,2 @@ +doc: + frigate gen --output-format markdown --no-deps --no-credits ./ > README.md diff --git a/charts/gotify/templates/base.tpl b/charts/gotify/templates/base.tpl new file mode 100644 index 0000000..30c9b59 --- /dev/null +++ b/charts/gotify/templates/base.tpl @@ -0,0 +1 @@ +{{ include "lib.all" . }} diff --git a/charts/gotify/values.yaml b/charts/gotify/values.yaml new file mode 100644 index 0000000..222b10c --- /dev/null +++ b/charts/gotify/values.yaml @@ -0,0 +1,79 @@ +image: + repository: ghcr.io/gotify/server +gotify: + server: + keepaliveperiodseconds: 0 # 0 = use Go default (15s); -1 = disable keepalive; set the interval in which keepalive packets will be sent. Only change this value if you know what you are doing. + listenaddr: "" # the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock". + port: 80 # the port the HTTP server will listen on + + ssl: + enabled: false # if https should be enabled + redirecttohttps: true # redirect to https if site is accessed by http + listenaddr: "" # the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock". + port: 443 # the https port + certfile: # the cert file (leave empty when using letsencrypt) + certkey: # the cert key (leave empty when using letsencrypt) + letsencrypt: + enabled: false # if the certificate should be requested from letsencrypt + accepttos: false # if you accept the tos from letsencrypt + cache: data/certs # the directory of the cache from letsencrypt + hosts: # the hosts for which letsencrypt should request certificates + # - mydomain.tld + # - myotherdomain.tld + responseheaders: # response headers are added to every response (default: none) + # X-Custom-Header: "custom value" + trustedproxies: # IPs or IP ranges of trusted proxies. Used to obtain the remote ip via the X-Forwarded-For header. (configure 127.0.0.1 to trust sockets) + # - 127.0.0.1 + # - 192.168.178.0/24 + # - ::1 + + cors: # Sets cors headers only when needed and provides support for multiple allowed origins. Overrides Access-Control-* Headers in response headers. + alloworigins: + # - ".+.example.com" + # - "otherdomain.com" + allowmethods: + # - "GET" + # - "POST" + allowheaders: + # - "Authorization" + # - "content-type" + + stream: + pingperiodseconds: 45 # the interval in which websocket pings will be sent. Only change this value if you know what you are doing. + allowedorigins: # allowed origins for websocket connections (same origin is always allowed, default only same origin) + # - ".+.example.com" + # - "otherdomain.com" + database: # see below + dialect: sqlite3 + connection: data/gotify.db + defaultuser: # on database creation, gotify creates an admin user (these values will only be used for the first start, if you want to edit the user after the first start use the WebUI) + name: admin # the username of the default user + pass: admin # the password of the default user + passstrength: 10 # the bcrypt password strength (higher = better but also slower) + uploadedimagesdir: data/images # the directory for storing uploaded images + pluginsdir: data/plugins # the directory where plugin resides (leave empty to disable plugins) + registration: false # enable registrations + +service: # services that should be created + main: + enabled: false + type: ClusterIP + annotations: {} + labels: {} + ports: + +ingress: + enabled: false + service: http # what service should the ingress target + #Service to target + servicePort: 80 + className: "" + annotations: + {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + hosts: + - host: chart-example.local + paths: + - path: / + pathType: ImplementationSpecific