diff --git a/projects/scanservjs/chart/.helmignore b/projects/scanservjs/chart/.helmignore new file mode 100644 index 00000000..4379e2b3 --- /dev/null +++ b/projects/scanservjs/chart/.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/projects/scanservjs/chart/Chart.lock b/projects/scanservjs/chart/Chart.lock new file mode 100644 index 00000000..c9d1028a --- /dev/null +++ b/projects/scanservjs/chart/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: https://library-charts.k8s-at-home.com + version: 4.0.1 +digest: sha256:aa3b9210dbbc23788cf320730b1fbb9fc536bbd33f6ad66926212e203d6c7f42 +generated: "2022-03-05T09:16:38.261516795+01:00" diff --git a/projects/scanservjs/chart/Chart.yaml b/projects/scanservjs/chart/Chart.yaml new file mode 100644 index 00000000..72369ec5 --- /dev/null +++ b/projects/scanservjs/chart/Chart.yaml @@ -0,0 +1,18 @@ +apiVersion: v2 +appVersion: 1.0.0 +description: scanservjs helm package +name: scanservjs +version: 2.0.1 +kubeVersion: ">=1.16.0-0" +keywords: +- scanservjs +home: +icon: https://scanservjs.org/icon +sources: +- https://github.com/scanservjs/scanservjs-docker +maintainers: +- name: nold +dependencies: +- name: common + repository: https://library-charts.k8s-at-home.com + version: 4.0.1 diff --git a/projects/scanservjs/chart/templates/NOTES.txt b/projects/scanservjs/chart/templates/NOTES.txt new file mode 100644 index 00000000..90f7b653 --- /dev/null +++ b/projects/scanservjs/chart/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/projects/scanservjs/chart/templates/common.yaml b/projects/scanservjs/chart/templates/common.yaml new file mode 100644 index 00000000..a6613c2c --- /dev/null +++ b/projects/scanservjs/chart/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/projects/scanservjs/chart/values.yaml b/projects/scanservjs/chart/values.yaml new file mode 100644 index 00000000..aae58d99 --- /dev/null +++ b/projects/scanservjs/chart/values.yaml @@ -0,0 +1,69 @@ +# +# IMPORTANT NOTE +# +# This chart inherits from our common library chart. You can check the default values/options here: +# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml +# + +image: + # -- image repository + repository: sbs20/scanservjs + # -- image tag + tag: latest + # -- image pull policy + pullPolicy: Always + +# -- environment variables. See more environment variables in the [scanservjs documentation](https://scanservjs.org/docs). +# @default -- See below +env: + # -- Set the container timezone + TZ: UTC + SANED_NET_HOSTS: 192.168.1.111 + OCR_LANG: "deu+eng" + +# -- Configures service settings for the chart. +# @default -- See values.yaml +service: + main: + ports: + http: + port: 8080 + +ingress: + # -- Enable and configure ingress settings for the chart under this key. + # @default -- See values.yaml + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: vault-issuer + traefik.ingress.kubernetes.io/router.tls: "true" + hosts: + - host: scan.dc + paths: + - path: / + pathType: Prefix + tls: + - secretName: scan-tls + hosts: + - scan.dc + +# -- Configure persistence settings for the chart under this key. +# @default -- See values.yaml +persistence: + dbus: + enabled: true + mountPath: /var/run/dbus + hostPath: /var/run/dbus + type: hostPath + + output: + enabled: true + mountPath: /app/data/output + hostPath: /data/paperless/import + type: hostPath + + config: + enabled: true + mountPath: /app/config + size: 1G + diff --git a/projects/scanservjs/project.yml b/projects/scanservjs/project.yml new file mode 100644 index 00000000..f7f6604e --- /dev/null +++ b/projects/scanservjs/project.yml @@ -0,0 +1,8 @@ +config: + description: Scan Server with Paperless import + +apps: +- name: scanservjs + repoURL: https://github.com/nold360/hive-apps + path: projects/scanservjs/chart + targetRevision: main diff --git a/projects/scanservjs/values/scanservjs.yaml b/projects/scanservjs/values/scanservjs.yaml new file mode 100644 index 00000000..a902b8ed --- /dev/null +++ b/projects/scanservjs/values/scanservjs.yaml @@ -0,0 +1,68 @@ +# +# IMPORTANT NOTE +# +# This chart inherits from our common library chart. You can check the default values/options here: +# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml +# + +image: + # -- image repository + repository: sbs20/scanservjs + # -- image tag + tag: latest + # -- image pull policy + pullPolicy: Always + +# -- environment variables. See more environment variables in the [scanservjs documentation](https://scanservjs.org/docs). +# @default -- See below +env: + # -- Set the container timezone + TZ: UTC + #SANED_NET_HOSTS: 192.168.1.111 + OCR_LANG: "deu+eng" + +# -- Configures service settings for the chart. +# @default -- See values.yaml +service: + main: + ports: + http: + port: 8080 + +ingress: + # -- Enable and configure ingress settings for the chart under this key. + # @default -- See values.yaml + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: vault-issuer + traefik.ingress.kubernetes.io/router.tls: "true" + hosts: + - host: scan.dc + paths: + - path: / + pathType: Prefix + tls: + - secretName: scan-tls + hosts: + - scan.dc + +# -- Configure persistence settings for the chart under this key. +# @default -- See values.yaml +persistence: + dbus: + enabled: true + mountPath: /var/run/dbus + hostPath: /var/run/dbus + type: hostPath + + output: + enabled: true + mountPath: /app/data/output + hostPath: /data/paperless/import + type: hostPath + + config: + enabled: true + mountPath: /app/config + size: 1G