feat: first import

This commit is contained in:
Julien Cabillot 2022-02-28 11:29:07 -05:00
parent d0652bd78f
commit 99300207fd
6 changed files with 114 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,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

View File

@ -0,0 +1,2 @@
# pigallery2-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" . }}

View File

@ -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