Delete stable/inventree directory

This commit is contained in:
Kjeld Schouten-Lebbing 2023-04-30 12:09:50 +02:00 committed by GitHub
parent 65eca3504f
commit e2b03281fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 0 additions and 2471 deletions

View File

@ -1,99 +0,0 @@
**Important:**
*for the complete changelog, please refer to the website*
## [inventree-7.0.34](https://github.com/truecharts/charts/compare/inventree-7.0.33...inventree-7.0.34) (2023-04-29)
### Chore
- update container image tccr.io/truecharts/nginx to v1.23.4 ([#8500](https://github.com/truecharts/charts/issues/8500))
## [inventree-7.0.33](https://github.com/truecharts/charts/compare/inventree-7.0.32...inventree-7.0.33) (2023-02-27)
### Chore
- update helm general non-major ([#7725](https://github.com/truecharts/charts/issues/7725))
## [inventree-7.0.32](https://github.com/truecharts/charts/compare/inventree-7.0.31...inventree-7.0.32) (2023-02-19)
### Chore
- update helm general non-major
## [inventree-7.0.31](https://github.com/truecharts/charts/compare/inventree-7.0.30...inventree-7.0.31) (2023-02-15)
### Chore
- update container image tccr.io/truecharts/nginx to 1.23.3
## [inventree-7.0.30](https://github.com/truecharts/charts/compare/inventree-7.0.29...inventree-7.0.30) (2023-02-10)
### Fix
- ensure new helm deps repo is used in latest releases as well.
## [inventree-7.0.29](https://github.com/truecharts/charts/compare/inventree-7.0.28...inventree-7.0.29) (2023-02-06)
### Chore
- update container image tccr.io/truecharts/nginx to 1.23.3
## [inventree-7.0.28](https://github.com/truecharts/charts/compare/inventree-7.0.27...inventree-7.0.28) (2023-02-02)
### Fix
- remove non-link sources ([#6826](https://github.com/truecharts/charts/issues/6826))
## [inventree-7.0.27](https://github.com/truecharts/charts/compare/inventree-7.0.26...inventree-7.0.27) (2023-01-24)
### Chore
- update helm general non-major ([#6689](https://github.com/truecharts/charts/issues/6689))
## [inventree-7.0.26](https://github.com/truecharts/charts/compare/inventree-7.0.25...inventree-7.0.26) (2023-01-23)
### Chore
- update helm general non-major
## [inventree-7.0.25](https://github.com/truecharts/charts/compare/inventree-7.0.24...inventree-7.0.25) (2023-01-18)
### Chore
- update container image tccr.io/truecharts/nginx to 1.23.3
## [inventree-7.0.24](https://github.com/truecharts/charts/compare/inventree-7.0.23...inventree-7.0.24) (2023-01-17)
### Chore

View File

@ -1,36 +0,0 @@
apiVersion: v2
appVersion: "0.8.4"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
- condition: postgresql.enabled
name: postgresql
repository: https://deps.truecharts.org/
version: 11.0.31
- condition: redis.enabled
name: redis
repository: https://deps.truecharts.org
version: 5.0.33
description: InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking.
home: https://truecharts.org/charts/stable/inventree
icon: https://truecharts.org/img/hotlink-ok/chart-icons/inventree.png
keywords:
- inventory
- inventree
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: inventree
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/inventree
- https://inventree.readthedocs.io
- https://github.com/inventree/InvenTree
version: 7.0.34
annotations:
truecharts.org/catagories: |
- utilities
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -1,27 +0,0 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/stable/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE%20Apps/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*

View File

@ -1,9 +0,0 @@
## [inventree-7.0.34](https://github.com/truecharts/charts/compare/inventree-7.0.33...inventree-7.0.34) (2023-04-29)
### Chore
- update container image tccr.io/truecharts/nginx to v1.23.4 ([#8500](https://github.com/truecharts/charts/issues/8500))

View File

@ -1,8 +0,0 @@
InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/inventree](https://truecharts.org/charts/stable/inventree)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

View File

@ -1,80 +0,0 @@
image:
repository: tccr.io/truecharts/inventree
tag: 0.8.4@sha256:57888f289eb9b2f03c141842eec5ae3946df1176ddcde4810c70307df8429edd
pullPolicy: IfNotPresent
nginxImage:
repository: tccr.io/truecharts/nginx
tag: 1.23.4@sha256:7e6b4bc511d01b48171cb3c345a67802297c77143c1411e22c5cf7e8acbf1915
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
# https://github.com/inventree/InvenTree/pull/3096
podSecurityContext:
runAsUser: 0
runAsGroup: 0
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-inventree-secret'
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-inventree-config'
inventree:
credentials:
admin_mail: "test@example.com"
admin_user: "testuser"
admin_password: "secret"
general:
debug: false
log_level: "INFO"
plugins_enabled: false
login_confirm_days: 3
login_attempts: 5
mail:
backend: "django.core.mail.backends.smtp.EmailBackend"
host: ""
port: 587
username: ""
password: ""
tls: false
ssl: false
sender: ""
service:
main:
ports:
main:
port: 10231
persistence:
data:
enabled: true
mountPath: "/home/inventree/data"
inventree-nginx:
enabled: true
noMount: true
type: custom
mountPath: "/etc/nginx/conf.d"
volumeSpec:
configMap:
name: '{{ include "tc.common.names.fullname" . }}-inventree-config-nginx'
items:
- key: nginx.conf
path: default.conf
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: inventree
postgresqlDatabase: inventree
redis:
enabled: true
existingSecret: "rediscreds"
redisUsername: default
portal:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -1,106 +0,0 @@
{{/* Define the secrets */}}
{{- define "inventree.config" -}}
{{- $configName := printf "%s-inventree-config" (include "tc.common.names.fullname" .) }}
{{- $nginxConfigName := printf "%s-inventree-config-nginx" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $configName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
INVENTREE_TIMEZONE: {{ .Values.TZ }}
INVENTREE_DB_ENGINE: "postgresql"
INVENTREE_DB_NAME: {{ .Values.postgresql.postgresqlDatabase }}
INVENTREE_DB_USER: {{ .Values.postgresql.postgresqlUsername }}
INVENTREE_DB_HOST: {{ printf "%v-%v" .Release.Name "postgresql" }}
INVENTREE_DB_PORT: "5432"
INVENTREE_CACHE_PORT: "6379"
INVENTREE_WEB_PORT: "8000"
{{- with .Values.inventree.mail.backend }}
INVENTREE_EMAIL_BACKEND: {{ . }}
{{- end }}
{{- with .Values.inventree.mail.host }}
INVENTREE_EMAIL_HOST: {{ . }}
{{- end }}
{{- with .Values.inventree.mail.port }}
INVENTREE_EMAIL_PORT: {{ . | quote }}
{{- end }}
{{- with .Values.inventree.mail.username }}
INVENTREE_EMAIL_USERNAME: {{ . }}
{{- end }}
INVENTREE_EMAIL_TLS: '{{ ternary "True" "False" .Values.inventree.mail.tls | default "False" }}'
INVENTREE_EMAIL_SSL: '{{ ternary "True" "False" .Values.inventree.mail.ssl | default "False" }}'
{{- with .Values.inventree.mail.sender }}
INVENTREE_EMAIL_SENDER: {{ . }}
{{- end }}
{{- if .Values.inventree.general.debug }}
INVENTREE_DEBUG: {{ .Values.inventree.general.debug | quote }}
{{- end }}
{{- with .Values.inventree.general.log_level }}
INVENTREE_LOG_LEVEL: {{ . }}
{{- end }}
{{- if .Values.inventree.general.plugins_enabled }}
INVENTREE_PLUGINS_ENABLED: {{ .Values.inventree.general.plugins_enabled | quote }}
{{- end }}
{{- with .Values.inventree.general.login_confirm_days }}
INVENTREE_LOGIN_CONFIRM_DAYS: {{ . | quote }}
{{- end }}
{{- with .Values.inventree.general.login_attempts }}
INVENTREE_LOGIN_ATTEMPTS: {{ . | quote }}
{{- end }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $nginxConfigName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
nginx.conf: |-
server {
listen {{ .Values.service.main.ports.main.port }};
real_ip_header proxy_protocol;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-By $server_addr:$server_port;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header CLIENT_IP $remote_addr;
proxy_pass_request_headers on;
proxy_redirect off;
client_max_body_size 100M;
proxy_buffering off;
proxy_request_buffering off;
proxy_pass http://localhost:8000;
}
# Redirect any requests for static files
location /static/ {
alias /var/www/static/;
autoindex on;
# Caching settings
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
}
# Redirect any requests for media files
location /media/ {
alias /var/www/media/;
# Media files require user authentication
auth_request /auth;
}
# Use the 'user' API endpoint for auth
location /auth {
internal;
proxy_pass http://localhost:8000/auth/;
proxy_pass_request_body off;
proxy_set_header Content-Length "";
proxy_set_header X-Original-URI $request_uri;
}
}
{{- end -}}

View File

@ -1,25 +0,0 @@
{{/* Define the init container */}}
{{- define "inventree.init" -}}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: '{{ .Values.image.pullPolicy }}'
command: ["sh", "-c"]
args:
- |-
echo "Starting initialization..."
cd /home/inventree || exit
invoke update
echo "Initialization finished!"
securityContext:
runAsUser: {{ .Values.podSecurityContext.runAsUser }}
runAsGroup: {{ .Values.podSecurityContext.runAsGroup }}
readOnlyRootFilesystem: {{ .Values.securityContext.readOnlyRootFilesystem }}
runAsNonRoot: {{ .Values.securityContext.runAsNonRoot }}
volumeMounts:
- name: data
mountPath: "/home/inventree/data"
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-inventree-secret'
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-inventree-config'
{{- end -}}

View File

@ -1,20 +0,0 @@
{{/* Define the nginx container */}}
{{- define "inventree.nginx" -}}
image: {{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}
imagePullPolicy: {{ .Values.nginxImage.pullPolicy }}
ports:
- containerPort: {{ .Values.service.main.ports.main.port }}
name: main
securityContext:
runAsUser: 0
runAsGroup: {{ .Values.podSecurityContext.runAsGroup }}
readOnlyRootFilesystem: false
runAsNonRoot: false
volumeMounts:
- name: inventree-nginx
mountPath: "/etc/nginx/conf.d/default.conf"
subPath: default.conf
readOnly: true
- name: data
mountPath: "/var/www"
{{- end -}}

View File

@ -1,35 +0,0 @@
{{/* Define the secrets */}}
{{- define "inventree.secrets" -}}
{{- $secretName := printf "%s-inventree-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
{{- with lookup "v1" "Secret" .Release.Namespace $secretName }}
INVENTREE_SECRET_KEY: {{ index .data "INVENTREE_SECRET_KEY" }}
{{- else }}
INVENTREE_SECRET_KEY: {{ randAlphaNum 32 | b64enc }}
{{- end }}
INVENTREE_DB_PASSWORD: {{ .Values.postgresql.postgresqlPassword | trimAll "\"" | b64enc }}
{{- $redisPass := .Values.redis.redisPassword | trimAll "\"" }}
INVENTREE_CACHE_HOST: {{ printf "%v:%v@%v-redis" .Values.redis.redisUsername $redisPass .Release.Name | b64enc }}
{{- with .Values.inventree.credentials.admin_mail }}
INVENTREE_ADMIN_EMAIL: {{ . | b64enc }}
{{- end }}
{{- with .Values.inventree.credentials.admin_user }}
INVENTREE_ADMIN_USER: {{ . | b64enc }}
{{- end }}
{{- with .Values.inventree.credentials.admin_password }}
INVENTREE_ADMIN_PASSWORD: {{ . | b64enc }}
{{- end }}
{{- with .Values.inventree.mail.password }}
INVENTREE_EMAIL_PASSWORD: {{ . | b64enc }}
{{- end }}
{{- end -}}

View File

@ -1,19 +0,0 @@
{{/* Define the worker container */}}
{{- define "inventree.worker" -}}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: '{{ .Values.image.pullPolicy }}'
command: ["invoke", "worker"]
securityContext:
runAsUser: {{ .Values.podSecurityContext.runAsUser }}
runAsGroup: {{ .Values.podSecurityContext.runAsGroup }}
readOnlyRootFilesystem: {{ .Values.securityContext.readOnlyRootFilesystem }}
runAsNonRoot: {{ .Values.securityContext.runAsNonRoot }}
volumeMounts:
- name: data
mountPath: "/home/inventree/data"
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-inventree-secret'
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-inventree-config'
{{- end -}}

View File

@ -1,15 +0,0 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render secrets for inventree */}}
{{- include "inventree.secrets" . }}
{{/* Render config for inventree */}}
{{- include "inventree.config" . }}
{{- $_ := set .Values.initContainers "init" (include "inventree.init" . | fromYaml) -}}
{{- $_ := set .Values.additionalContainers "nginx" (include "inventree.nginx" . | fromYaml) -}}
{{- $_ := set .Values.additionalContainers "worker" (include "inventree.worker" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File

@ -1,4 +0,0 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/inventree.png
categories:
- utilities