feat(plant-it): Plant-it Chart (#22654)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Add chart

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [x] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
alfi0812
2024-05-31 10:17:21 +02:00
committed by GitHub
parent ec7611266d
commit a6fc4b5c10
7 changed files with 158 additions and 0 deletions
+32
View File
@@ -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
+48
View File
@@ -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
+3
View File
@@ -0,0 +1,3 @@
---
title: README
---
Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
+73
View File
@@ -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