feat: init

This commit is contained in:
Julien Cabillot 2022-10-19 23:39:23 -04:00
commit 750aa6a9c0
7 changed files with 118 additions and 0 deletions

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# ntfy-helm

26
charts/ntfy/.helmignore Normal file
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

26
charts/ntfy/Chart.yaml Normal file
View File

@ -0,0 +1,26 @@
apiVersion: v2
description: Helm chart for ntfy
name: ntfy
type: application
version: 0.0.6
kubeVersion: ">=1.16.0-0"
keywords:
- ntfy
home: https://scm.docker.cabillot.eu/web/ntfy-helm/
sources:
- https://github.com/binwiederhier/ntfy/
maintainers:
- name: Julien Cabillot
email: dockerimages@cabillot.eu
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.28.0"
dependencies:
- name: common
repository: "https://scm.docker.cabillot.eu/perso/helm-library-common/raw/branch/master/"
version: 4.2.0

2
charts/ntfy/README.md Normal file
View File

@ -0,0 +1,2 @@
# ntfy-helm

View File

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

View File

@ -0,0 +1,5 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Render the templates */}}
{{ include "common.all" . }}

56
charts/ntfy/values.yaml Normal file
View File

@ -0,0 +1,56 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://scm.docker.cabillot.eu/perso/helm-library-common
#
image:
repository: docker.io/binwiederhier/ntfy
tag: "1.28.0@sha256:45cacbfa46554b8feba86bb2fec42e638dd911e70061128a5690896839ec0156"
pullPolicy: Always
args: ["serve"]
env:
TZ: America/New_York
#NTFY_BASE_URL: "https://xxx.domain.tld"
NTFY_CACHE_FILE: "/var/cache/ntfy/cache.db"
NTFY_AUTH_FILE: "/etc/ntfy/user.db"
NTFY_BEHIND_PROXY: "true"
NTFY_ATTACHMENT_CACHE_DIR: "/var/cache/ntfy-attachments"
NTFY_ATTACHMENT_FILE_SIZE_LIMIT: "200M"
NTFY_LOG_LEVEL: "INFO"
NTFY_VISITOR_ATTACHMENT_DAILY_BANDWIDTH_LIMIT: "65535G"
NTFY_VISITOR_ATTACHMENT_TOTAL_SIZE_LIMIT: "65535G"
NTFY_AUTH_DEFAULT_ACCESS: "deny-all"
NTFY_ATTACHMENT_EXPIRY_DURATION: "240h"
service:
main:
ports:
http:
port: 80
ingress:
main:
enabled: false
automountServiceAccountToken: false
persistence:
etc:
enabled: true
mountPath: /etc/ntfy
accessMode: ReadWriteOnce
size: 100Mi
cache:
enabled: true
mountPath: /var/cache/ntfy
accessMode: ReadWriteOnce
size: 100Mi
cache-attachments:
enabled: true
mountPath: /var/cache/ntfy-attachments
accessMode: ReadWriteOnce
size: 1000Mi