From 99300207fddee7f8f018fe929f8416d39a0ccd02 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Mon, 28 Feb 2022 11:29:07 -0500 Subject: [PATCH] feat: first import --- charts/pigallery2/.helmignore | 26 ++++++++++++ charts/pigallery2/Chart.yaml | 27 +++++++++++++ charts/pigallery2/README.md | 2 + charts/pigallery2/templates/NOTES.txt | 1 + charts/pigallery2/templates/common.yaml | 5 +++ charts/pigallery2/values.yaml | 53 +++++++++++++++++++++++++ 6 files changed, 114 insertions(+) create mode 100644 charts/pigallery2/.helmignore create mode 100644 charts/pigallery2/Chart.yaml create mode 100644 charts/pigallery2/README.md create mode 100644 charts/pigallery2/templates/NOTES.txt create mode 100644 charts/pigallery2/templates/common.yaml create mode 100644 charts/pigallery2/values.yaml diff --git a/charts/pigallery2/.helmignore b/charts/pigallery2/.helmignore new file mode 100644 index 0000000..4379e2b --- /dev/null +++ b/charts/pigallery2/.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/pigallery2/Chart.yaml b/charts/pigallery2/Chart.yaml new file mode 100644 index 0000000..80fa2c1 --- /dev/null +++ b/charts/pigallery2/Chart.yaml @@ -0,0 +1,27 @@ +apiVersion: v2 + +description: Helm chart for pigallery2 +name: pigallery2 +type: application +version: 0.0.1 +kubeVersion: ">=1.16.0-0" +keywords: +- pigallery2 +home: https://scm.docker.cabillot.eu/web/pigallery2-helm/ +sources: +- https://github.com/bpatrik/pigallery2 +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.16.0" +appVersion: "latest" + +dependencies: +- name: common + repository: "https://scm.docker.cabillot.eu/perso/helm-library-common/raw/branch/master/" + version: 4.2.0 diff --git a/charts/pigallery2/README.md b/charts/pigallery2/README.md new file mode 100644 index 0000000..5781dfe --- /dev/null +++ b/charts/pigallery2/README.md @@ -0,0 +1,2 @@ +# pigallery2-helm + diff --git a/charts/pigallery2/templates/NOTES.txt b/charts/pigallery2/templates/NOTES.txt new file mode 100644 index 0000000..90f7b65 --- /dev/null +++ b/charts/pigallery2/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/pigallery2/templates/common.yaml b/charts/pigallery2/templates/common.yaml new file mode 100644 index 0000000..64e027a --- /dev/null +++ b/charts/pigallery2/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/pigallery2/values.yaml b/charts/pigallery2/values.yaml new file mode 100644 index 0000000..5a43d2e --- /dev/null +++ b/charts/pigallery2/values.yaml @@ -0,0 +1,53 @@ +# +# 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/bpatrik/pigallery2 + tag: "latest-debian-buster" + pullPolicy: Always + +env: + TZ: America/New_York + NODE_ENV: production + +service: + main: + ports: + http: + port: 80 + +ingress: + main: + enabled: false + +automountServiceAccountToken: false + +persistence: + config: + enabled: true + mountPath: /app/data/config + accessMode: ReadWriteOnce + size: 100Mi + db: + enabled: true + mountPath: /app/data/db + accessMode: ReadWriteOnce + size: 100Mi + tmp: + enabled: true + mountPath: /app/data/tmp + accessMode: ReadWriteOnce + size: 100Mi + images: + enabled: true + type: custom + volumeSpec: + nfs: + server: "odroidhc2.local" + path: "/mnt/photos_sanitized" + readOnly: true + mountPath: /app/data/images