commit 750aa6a9c0ac28b95744177c2291acc7ef752046 Author: Julien Cabillot Date: Wed Oct 19 23:39:23 2022 -0400 feat: init diff --git a/README.md b/README.md new file mode 100644 index 0000000..02b5e71 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# ntfy-helm + diff --git a/charts/ntfy/.helmignore b/charts/ntfy/.helmignore new file mode 100644 index 0000000..4379e2b --- /dev/null +++ b/charts/ntfy/.helmignore @@ -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 diff --git a/charts/ntfy/Chart.yaml b/charts/ntfy/Chart.yaml new file mode 100644 index 0000000..0137517 --- /dev/null +++ b/charts/ntfy/Chart.yaml @@ -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 diff --git a/charts/ntfy/README.md b/charts/ntfy/README.md new file mode 100644 index 0000000..02b5e71 --- /dev/null +++ b/charts/ntfy/README.md @@ -0,0 +1,2 @@ +# ntfy-helm + diff --git a/charts/ntfy/templates/NOTES.txt b/charts/ntfy/templates/NOTES.txt new file mode 100644 index 0000000..90f7b65 --- /dev/null +++ b/charts/ntfy/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/ntfy/templates/common.yaml b/charts/ntfy/templates/common.yaml new file mode 100644 index 0000000..64e027a --- /dev/null +++ b/charts/ntfy/templates/common.yaml @@ -0,0 +1,5 @@ +{{/* Make sure all variables are set properly */}} +{{- include "common.values.setup" . }} + +{{/* Render the templates */}} +{{ include "common.all" . }} diff --git a/charts/ntfy/values.yaml b/charts/ntfy/values.yaml new file mode 100644 index 0000000..a6e488d --- /dev/null +++ b/charts/ntfy/values.yaml @@ -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