Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-03-23 19:15:32 +00:00
parent 5cf545cfcf
commit 7445fc1ea0
16 changed files with 4307 additions and 0 deletions

View File

@ -0,0 +1,99 @@
# Changelog<br>
<a name="snipe-it-2.0.0"></a>
### [snipe-it-2.0.0](https://github.com/truecharts/apps/compare/snipe-it-1.0.8...snipe-it-2.0.0) (2022-03-23)
#### Feat
* Use official image ([#2257](https://github.com/truecharts/apps/issues/2257))
<a name="snipe-it-1.0.6"></a>
### [snipe-it-1.0.6](https://github.com/truecharts/apps/compare/snipe-it-1.0.5...snipe-it-1.0.6) (2022-03-17)
#### Chore
* update docker general non-major ([#2198](https://github.com/truecharts/apps/issues/2198))
* update docker general non-major ([#2196](https://github.com/truecharts/apps/issues/2196))
<a name="snipe-it-1.0.4"></a>
### [snipe-it-1.0.4](https://github.com/truecharts/apps/compare/snipe-it-1.0.3...snipe-it-1.0.4) (2022-03-15)
#### Chore
* update docker general non-major ([#2178](https://github.com/truecharts/apps/issues/2178))
<a name="snipe-it-1.0.3"></a>
### [snipe-it-1.0.3](https://github.com/truecharts/apps/compare/snipe-it-1.0.2...snipe-it-1.0.3) (2022-03-08)
#### Chore
* update helm general non-major helm releases ([#2116](https://github.com/truecharts/apps/issues/2116))
<a name="snipe-it-1.0.2"></a>
### [snipe-it-1.0.2](https://github.com/truecharts/apps/compare/snipe-it-1.0.1...snipe-it-1.0.2) (2022-03-07)
#### Chore
* update helm general non-major helm releases ([#2111](https://github.com/truecharts/apps/issues/2111))
<a name="snipe-it-1.0.1"></a>
### [snipe-it-1.0.1](https://github.com/truecharts/apps/compare/snipe-it-1.0.0...snipe-it-1.0.1) (2022-03-07)
#### Chore
* update docker general non-major ([#2046](https://github.com/truecharts/apps/issues/2046))
* Remove `-icon` string from icon png's ([#2040](https://github.com/truecharts/apps/issues/2040))
<a name="snipe-it-1.0.0"></a>
### [snipe-it-1.0.0](https://github.com/truecharts/apps/compare/snipe-it-0.0.41...snipe-it-1.0.0) (2022-03-03)
#### Chore
* remove fixed env from questions.yaml
* remove PUID from per-app env-vars if set to 568
* remove empty env var declaration from questions.yaml
* update helm general major helm releases ([#2021](https://github.com/truecharts/apps/issues/2021))
#### Fix
* BREAKING CHANGE Move some env-vars outside of env section ([#2010](https://github.com/truecharts/apps/issues/2010))
<a name="snipe-it-0.0.41"></a>
### [snipe-it-0.0.41](https://github.com/truecharts/apps/compare/snipe-it-0.0.40...snipe-it-0.0.41) (2022-03-02)
#### Chore
* update helm general non-major helm releases ([#1999](https://github.com/truecharts/apps/issues/1999))
<a name="snipe-it-0.0.40"></a>
### [snipe-it-0.0.40](https://github.com/truecharts/apps/compare/snipe-it-0.0.39...snipe-it-0.0.40) (2022-02-28)
#### Chore
* rename `web_portal` to `open` ([#1957](https://github.com/truecharts/apps/issues/1957))
* update docker general non-major ([#1980](https://github.com/truecharts/apps/issues/1980))
<a name="snipe-it-0.0.39"></a>
### [snipe-it-0.0.39](https://github.com/truecharts/apps/compare/snipe-it-0.0.38...snipe-it-0.0.39) (2022-02-21)
#### Chore

View File

@ -0,0 +1,7 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,12 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 9.1.8
- name: mariadb
repository: https://truecharts.org/
version: 2.0.7
- name: redis
repository: https://truecharts.org
version: 2.0.6
digest: sha256:503702a5916981e92311b654a8297d1c1954b9e6a3af31da1dc024ba65637897
generated: "2022-03-23T19:11:55.629250832Z"

View File

@ -0,0 +1,37 @@
apiVersion: v2
appVersion: "5.4.1"
dependencies:
- name: common
repository: https://truecharts.org
version: 9.1.8
- condition: mariadb.enabled
name: mariadb
repository: https://truecharts.org/
version: 2.0.7
- condition: redis.enabled
name: redis
repository: https://truecharts.org
version: 2.0.6
description: "Open source asset management"
home: https://github.com/truecharts/apps/tree/master/charts/stable/snipe-it
icon: https://truecharts.org/_static/img/appicons/snipe-it.png
keywords:
- snipeit
- snipe
- asset
- management
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: snipe-it
sources:
- https://snipeitapp.com/
- https://hub.docker.com/r/linuxserver/
version: 2.0.0
annotations:
truecharts.org/catagories: |
- management
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,40 @@
# Introduction
Open source asset management
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://snipeitapp.com/>
* <https://hub.docker.com/r/linuxserver/>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org/ | mariadb | 2.0.7 |
| https://truecharts.org | common | 9.1.8 |
| https://truecharts.org | redis | 2.0.6 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
## Upgrading, Rolling Back and Uninstalling the Chart
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Adding-TrueCharts/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,3 @@
Open source asset management
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,105 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.API_TOKEN_EXPIRATION_YEARS | int | `40` | |
| env.APP_DEBUG | bool | `false` | |
| env.APP_ENV | string | `"production"` | |
| env.APP_LOCALE | string | `"en"` | |
| env.APP_TIMEZONE | string | `"{{ .Values.TZ }}"` | |
| env.APP_URL | string | `"http://localhost:80"` | |
| env.CACHE_DRIVER | string | `"redis"` | |
| env.COOKIE_NAME | string | `"snipeit_session"` | |
| env.DB_CONNECTION | string | `"mysql"` | |
| env.DB_DATABASE | string | `"{{ .Values.mariadb.mariadbDatabase }}"` | |
| env.DB_PORT | string | `"3306"` | |
| env.DB_USERNAME | string | `"{{ .Values.mariadb.mariadbUsername }}"` | |
| env.ENCRYPT | bool | `false` | |
| env.EXPIRE_ON_CLOSE | bool | `false` | |
| env.FILESYSTEM_DISK | string | `"local"` | |
| env.IMAGE_LIB | string | `"gd"` | |
| env.LOGIN_LOCKOUT_DURATION | int | `60` | |
| env.LOGIN_MAX_ATTEMPTS | int | `5` | |
| env.MAX_RESULTS | int | `500` | |
| env.QUEUE_DRIVER | string | `"redis"` | |
| env.REDIS_PORT | string | `"6379"` | |
| env.SECURE_COOKIES | bool | `false` | |
| env.SESSION_DRIVER | string | `"redis"` | |
| env.SESSION_LIFETIME | int | `30` | |
| envValueFrom.APP_KEY.secretKeyRef.key | string | `"APP_KEY"` | |
| envValueFrom.APP_KEY.secretKeyRef.name | string | `"snipeit-secrets"` | |
| envValueFrom.DB_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.DB_HOST.secretKeyRef.name | string | `"mariadbcreds"` | |
| envValueFrom.DB_PASSWORD.secretKeyRef.key | string | `"mariadb-password"` | |
| envValueFrom.DB_PASSWORD.secretKeyRef.name | string | `"mariadbcreds"` | |
| envValueFrom.REDIS_HOST.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.REDIS_HOST.secretKeyRef.name | string | `"rediscreds"` | |
| envValueFrom.REDIS_PASSWORD.secretKeyRef.key | string | `"redis-password"` | |
| envValueFrom.REDIS_PASSWORD.secretKeyRef.name | string | `"rediscreds"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/snipe-it"` | |
| image.tag | string | `"v5.4.1@sha256:392cd5a87a094675702b2f81a84213624851d2c4adec2dbad207a91f7d39d3d4"` | |
| mariadb.enabled | bool | `true` | |
| mariadb.existingSecret | string | `"mariadbcreds"` | |
| mariadb.mariadbDatabase | string | `"snipe-it"` | |
| mariadb.mariadbUsername | string | `"snipe-it"` | |
| persistence.logs.enabled | bool | `true` | |
| persistence.logs.mountPath | string | `"/var/www/html/storage/logs"` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| redis.enabled | bool | `true` | |
| redis.existingSecret | string | `"rediscreds"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service.main.ports.main.port | int | `10120` | |
| service.main.ports.main.targetPort | int | `80` | |
| upgradeContainers.migratedb.command[0] | string | `"php"` | |
| upgradeContainers.migratedb.command[1] | string | `"artisan"` | |
| upgradeContainers.migratedb.command[2] | string | `"migrate"` | |
| upgradeContainers.migratedb.env[0].name | string | `"APP_ENV"` | |
| upgradeContainers.migratedb.env[0].value | string | `"production"` | |
| upgradeContainers.migratedb.env[10].name | string | `"DB_PASSWORD"` | |
| upgradeContainers.migratedb.env[10].valueFrom.secretKeyRef.key | string | `"mariadb-password"` | |
| upgradeContainers.migratedb.env[10].valueFrom.secretKeyRef.name | string | `"mariadbcreds"` | |
| upgradeContainers.migratedb.env[11].name | string | `"REDIS_HOST"` | |
| upgradeContainers.migratedb.env[11].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
| upgradeContainers.migratedb.env[11].valueFrom.secretKeyRef.name | string | `"rediscreds"` | |
| upgradeContainers.migratedb.env[12].name | string | `"REDIS_PASSWORD"` | |
| upgradeContainers.migratedb.env[12].valueFrom.secretKeyRef.key | string | `"redis-password"` | |
| upgradeContainers.migratedb.env[12].valueFrom.secretKeyRef.name | string | `"rediscreds"` | |
| upgradeContainers.migratedb.env[13].name | string | `"APP_KEY"` | |
| upgradeContainers.migratedb.env[13].valueFrom.secretKeyRef.key | string | `"APP_KEY"` | |
| upgradeContainers.migratedb.env[13].valueFrom.secretKeyRef.name | string | `"snipeit-secrets"` | |
| upgradeContainers.migratedb.env[1].name | string | `"REDIS_PORT"` | |
| upgradeContainers.migratedb.env[1].value | string | `"6379"` | |
| upgradeContainers.migratedb.env[2].name | string | `"SESSION_DRIVER"` | |
| upgradeContainers.migratedb.env[2].value | string | `"redis"` | |
| upgradeContainers.migratedb.env[3].name | string | `"QUEUE_DRIVER"` | |
| upgradeContainers.migratedb.env[3].value | string | `"redis"` | |
| upgradeContainers.migratedb.env[4].name | string | `"APP_ENV"` | |
| upgradeContainers.migratedb.env[4].value | string | `"redis"` | |
| upgradeContainers.migratedb.env[5].name | string | `"DB_CONNECTION"` | |
| upgradeContainers.migratedb.env[5].value | string | `"mysql"` | |
| upgradeContainers.migratedb.env[6].name | string | `"DB_PORT"` | |
| upgradeContainers.migratedb.env[6].value | string | `"3306"` | |
| upgradeContainers.migratedb.env[7].name | string | `"DB_USERNAME"` | |
| upgradeContainers.migratedb.env[7].value | string | `"{{ .Values.mariadb.mariadbUsername }}"` | |
| upgradeContainers.migratedb.env[8].name | string | `"DB_DATABASE"` | |
| upgradeContainers.migratedb.env[8].value | string | `"{{ .Values.mariadb.mariadbDatabase }}"` | |
| upgradeContainers.migratedb.env[9].name | string | `"DB_HOST"` | |
| upgradeContainers.migratedb.env[9].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
| upgradeContainers.migratedb.env[9].valueFrom.secretKeyRef.name | string | `"mariadbcreds"` | |
| upgradeContainers.migratedb.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
| upgradeContainers.migratedb.volumeMounts[0].mountPath | string | `"/var/www/html/storage/logs"` | |
| upgradeContainers.migratedb.volumeMounts[0].name | string | `"logs"` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,138 @@
image:
repository: tccr.io/truecharts/snipe-it
pullPolicy: IfNotPresent
tag: v5.4.1@sha256:392cd5a87a094675702b2f81a84213624851d2c4adec2dbad207a91f7d39d3d4
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
APP_ENV: "production"
APP_DEBUG: false
DB_CONNECTION: "mysql"
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
DB_PORT: "3306"
REDIS_PORT: "6379"
SESSION_DRIVER: "redis"
CACHE_DRIVER: "redis"
QUEUE_DRIVER: "redis"
APP_TIMEZONE: "{{ .Values.TZ }}"
FILESYSTEM_DISK: "local"
# User Defined
APP_URL: "http://localhost:80"
APP_LOCALE: "en"
MAX_RESULTS: 500
IMAGE_LIB: "gd"
# Session
SESSION_LIFETIME: 30
EXPIRE_ON_CLOSE: false
ENCRYPT: false
COOKIE_NAME: "snipeit_session"
SECURE_COOKIES: false
API_TOKEN_EXPIRATION_YEARS: 40
# Login
LOGIN_MAX_ATTEMPTS: 5
LOGIN_LOCKOUT_DURATION: 60
envValueFrom:
DB_HOST:
secretKeyRef:
name: mariadbcreds
key: plainhost
DB_PASSWORD:
secretKeyRef:
name: mariadbcreds
key: mariadb-password
REDIS_HOST:
secretKeyRef:
name: rediscreds
key: plainhost
REDIS_PASSWORD:
secretKeyRef:
name: rediscreds
key: redis-password
APP_KEY:
secretKeyRef:
name: snipeit-secrets
key: APP_KEY
service:
main:
ports:
main:
port: 10120
targetPort: 80
persistence:
logs:
enabled: true
mountPath: "/var/www/html/storage/logs"
mariadb:
enabled: true
mariadbUsername: snipe-it
mariadbDatabase: snipe-it
existingSecret: "mariadbcreds"
# Enabled redis
redis:
enabled: true
existingSecret: "rediscreds"
upgradeContainers:
migratedb:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
volumeMounts:
- name: logs
mountPath: "/var/www/html/storage/logs"
env:
- name: APP_ENV
value: "production"
- name: REDIS_PORT
value: "6379"
- name: SESSION_DRIVER
value: "redis"
- name: QUEUE_DRIVER
value: "redis"
- name: APP_ENV
value: "redis"
- name: DB_CONNECTION
value: "mysql"
- name: DB_PORT
value: "3306"
- name: DB_USERNAME
value: "{{ .Values.mariadb.mariadbUsername }}"
- name: DB_DATABASE
value: "{{ .Values.mariadb.mariadbDatabase }}"
- name: DB_HOST
valueFrom:
secretKeyRef:
name: mariadbcreds
key: plainhost
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadbcreds
key: mariadb-password
- name: REDIS_HOST
valueFrom:
secretKeyRef:
name: rediscreds
key: plainhost
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: rediscreds
key: redis-password
- name: APP_KEY
valueFrom:
secretKeyRef:
name: snipeit-secrets
key: APP_KEY
command: ["php", "artisan", "migrate"]

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,20 @@
{{/* Define the secrets */}}
{{- define "snipeit.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: snipeit-secrets
{{- $snipeitprevious := lookup "v1" "Secret" .Release.Namespace "snipeit-secrets" }}
{{- $app_key := "" }}
data:
{{- if $snipeitprevious}}
APP_KEY: {{ index $snipeitprevious.data "APP_KEY" }}
{{- else }}
{{- $app_key := randAlphaNum 32 }}
APP_KEY: {{ $app_key | b64enc }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{/* Render secrets for snipeit */}}
{{- include "snipeit.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}

View File