diff --git a/charts/incubator/plant-it/.helmignore b/charts/incubator/plant-it/.helmignore new file mode 100644 index 00000000000..feb7464da6f --- /dev/null +++ b/charts/incubator/plant-it/.helmignore @@ -0,0 +1,32 @@ +# 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 +# docs folder +/docs +# icon +icon.png +icon.webp +icon-small.webp diff --git a/charts/incubator/plant-it/Chart.yaml b/charts/incubator/plant-it/Chart.yaml new file mode 100644 index 00000000000..6a2c19168e9 --- /dev/null +++ b/charts/incubator/plant-it/Chart.yaml @@ -0,0 +1,48 @@ +annotations: + truecharts.org/category: productivity + truecharts.org/max_helm_version: "3.14" + truecharts.org/min_helm_version: "3.11" + truecharts.org/train: incubator +apiVersion: v2 +appVersion: latest +dependencies: + - name: common + version: 23.0.10 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] + - name: mariadb + version: 14.0.12 + repository: oci://tccr.io/truecharts + condition: mariadb.enabled + alias: "" + tags: [] + import-values: [] + - name: redis + version: 14.0.12 + repository: oci://tccr.io/truecharts + condition: redis.enabled + alias: "" + tags: [] + import-values: [] +deprecated: false +description: Plant-it is a self-hosted gardening companion app. +home: https://truecharts.org/charts/incubator/plant-it +icon: https://truecharts.org/img/hotlink-ok/chart-icons/plant-it.webp +keywords: + - plant + - plant-it +kubeVersion: '>=1.24.0-0' +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: plant-it +sources: + - https://github.com/MDeLuise/plant-it + - https://hub.docker.com/r/msdeluise/plant-it-server + - https://github.com/truecharts/charts/tree/master/charts/incubator/plant-it +type: application +version: 0.0.1 diff --git a/charts/incubator/plant-it/README.md b/charts/incubator/plant-it/README.md new file mode 100644 index 00000000000..2b8cc49d247 --- /dev/null +++ b/charts/incubator/plant-it/README.md @@ -0,0 +1,3 @@ +--- +title: README +--- diff --git a/charts/incubator/plant-it/icon.png b/charts/incubator/plant-it/icon.png new file mode 100644 index 00000000000..c4fb07b2240 Binary files /dev/null and b/charts/incubator/plant-it/icon.png differ diff --git a/charts/incubator/plant-it/templates/NOTES.txt b/charts/incubator/plant-it/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/plant-it/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/plant-it/templates/common.yaml b/charts/incubator/plant-it/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/plant-it/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/plant-it/values.yaml b/charts/incubator/plant-it/values.yaml new file mode 100644 index 00000000000..192fa75ffc7 --- /dev/null +++ b/charts/incubator/plant-it/values.yaml @@ -0,0 +1,73 @@ +image: + repository: msdeluise/plant-it-server + pullPolicy: IfNotPresent + tag: 0.7.1@sha256:b7857441ec7851c87913fdcdc43c25e9b3f7a910d127d86c1dc9a19b77e190b8 + +workload: + main: + podSpec: + containers: + main: + env: + MYSQL_HOST: + secretKeyRef: + expandObjectName: false + name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}' + key: plainhost + MYSQL_PORT: "3306" + MYSQL_USERNAME: "{{ .Values.mariadb.mariadbUsername }}" + MYSQL_PSW: "{{ .Values.mariadb.password }}" + MYSQL_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}" + MYSQL_ROOT_PASSWORD: "{{ .Values.mariadb.rootPassword }}" + JWT_SECRET: "MyJWTSecret" + JWT_EXP: 1 + USER_LIMIT: -1 + UPLOAD_DIR: /uploads + API_PORT: "{{ .Values.service.main.ports.api.port }}" + TREFLE_KEY: "" + LOG_LEVEL: INFO + ALLOWED_ORIGINS: "*" + CACHE_TTL: 86400 + CACHE_HOST: + secretKeyRef: + expandObjectName: false + name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}' + key: plainhost + CACHE_PORT: 6379 + SSL_ENABLED: false + CERTIFICATE_PATH: /certificates/ + +service: + main: + enabled: true + ports: + main: + enabled: true + targetPort: 3000 + port: 3000 + api: + enabled: true + port: 9701 + +persistence: + uploads: + enabled: true + mountPath: /uploads + certificates: + enabled: true + mountPath: /certificates + +mariadb: + enabled: true + includeCommon: true + mariadbUsername: plantit + mariadbDatabase: plantit + +redis: + enabled: true + includeCommon: true + redisUsername: default + +portal: + open: + enabled: true