feat(inventree): move to stable (#2787)

* fix(clarkson): change port to resolve a conflict

* feat(inventree): move to stable
This commit is contained in:
Stavros Kois
2022-05-29 18:13:21 +00:00
committed by GitHub
parent 4d3f1da99c
commit d8b3bc90cd
12 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ name: clarkson
sources:
- https://github.com/linuxserver/Clarkson
- https://hub.docker.com/r/linuxserver/clarkson
version: 1.0.22
version: 1.0.23
annotations:
truecharts.org/catagories: |
- vehicle
+1 -1
View File
@@ -104,7 +104,7 @@ questions:
description: "This port exposes the container port on the service"
schema:
type: int
default: 10113
default: 10228
required: true
- variable: advanced
label: "Show Advanced settings"
+1 -1
View File
@@ -19,7 +19,7 @@ service:
main:
ports:
main:
port: 10113
port: 10228
targetPort: 3000
# See more environment variables in the clarkson documentation
+142
View File
@@ -0,0 +1,142 @@
# Changelog<br>
<a name="inventree-0.0.14"></a>
### [inventree-0.0.14](https://github.com/truecharts/apps/compare/inventree-0.0.13...inventree-0.0.14) (2022-05-29)
#### Chore
* update docker general non-major ([#2762](https://github.com/truecharts/apps/issues/2762))
<a name="inventree-0.0.13"></a>
### [inventree-0.0.13](https://github.com/truecharts/apps/compare/inventree-0.0.12...inventree-0.0.13) (2022-05-26)
#### Chore
* Auto-update chart README [skip ci]
* update helm general non-major helm releases ([#2759](https://github.com/truecharts/apps/issues/2759))
<a name="inventree-0.0.13"></a>
### [inventree-0.0.13](https://github.com/truecharts/apps/compare/inventree-0.0.12...inventree-0.0.13) (2022-05-26)
#### Chore
* update helm general non-major helm releases ([#2759](https://github.com/truecharts/apps/issues/2759))
<a name="inventree-0.0.12"></a>
### [inventree-0.0.12](https://github.com/truecharts/apps/compare/inventree-0.0.11...inventree-0.0.12) (2022-05-24)
#### Chore
* update docker general non-major ([#2744](https://github.com/truecharts/apps/issues/2744))
<a name="inventree-0.0.11"></a>
### [inventree-0.0.11](https://github.com/truecharts/apps/compare/inventree-0.0.10...inventree-0.0.11) (2022-05-24)
#### Chore
* update helm general non-major helm releases
<a name="inventree-0.0.10"></a>
### [inventree-0.0.10](https://github.com/truecharts/apps/compare/inventree-0.0.8...inventree-0.0.10) (2022-05-18)
#### Chore
* Auto-update chart README [skip ci]
* update docker general non-major ([#2706](https://github.com/truecharts/apps/issues/2706))
* update helm general non-major helm releases
<a name="inventree-0.0.9"></a>
### [inventree-0.0.9](https://github.com/truecharts/apps/compare/inventree-0.0.8...inventree-0.0.9) (2022-05-17)
#### Chore
* update helm general non-major helm releases
<a name="inventree-0.0.8"></a>
### [inventree-0.0.8](https://github.com/truecharts/apps/compare/inventree-0.0.7...inventree-0.0.8) (2022-05-17)
#### Chore
* update helm general non-major helm releases
<a name="inventree-0.0.7"></a>
### [inventree-0.0.7](https://github.com/truecharts/apps/compare/inventree-0.0.6...inventree-0.0.7) (2022-05-13)
#### Chore
* update docker general non-major ([#2658](https://github.com/truecharts/apps/issues/2658))
<a name="inventree-0.0.6"></a>
### [inventree-0.0.6](https://github.com/truecharts/apps/compare/inventree-0.0.5...inventree-0.0.6) (2022-05-10)
#### Chore
* update helm general non-major helm releases ([#2649](https://github.com/truecharts/apps/issues/2649))
#### Feat
* move to stable ([#2636](https://github.com/truecharts/apps/issues/2636))
<a name="inventree-0.0.5"></a>
### [inventree-0.0.5](https://github.com/truecharts/apps/compare/inventree-0.0.4...inventree-0.0.5) (2022-05-06)
#### Fix
* re-add nginx ([#2618](https://github.com/truecharts/apps/issues/2618))
<a name="inventree-0.0.4"></a>
### [inventree-0.0.4](https://github.com/truecharts/apps/compare/inventree-0.0.3...inventree-0.0.4) (2022-05-05)
#### Chore
* update helm general non-major helm releases ([#2612](https://github.com/truecharts/apps/issues/2612))
<a name="inventree-0.0.3"></a>
### [inventree-0.0.3](https://github.com/truecharts/apps/compare/inventree-0.0.2...inventree-0.0.3) (2022-05-04)
#### Chore
* update helm general non-major helm releases ([#2605](https://github.com/truecharts/apps/issues/2605))
<a name="inventree-0.0.2"></a>
### [inventree-0.0.2](https://github.com/truecharts/apps/compare/inventree-0.0.1...inventree-0.0.2) (2022-04-29)
#### Chore
* update docker general non-major ([#2581](https://github.com/truecharts/apps/issues/2581))
<a name="inventree-0.0.1"></a>
### inventree-0.0.1 (2022-04-28)
#### Feat
* add inventree ([#2576](https://github.com/truecharts/apps/issues/2576))
+31
View File
@@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "0.7.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 9.3.19
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
version: 7.0.79
description: InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking.
home: https://github.com/truecharts/apps/tree/master/charts/incubator/inventree
icon: https://truecharts.org/_static/img/appicons/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://inventree.readthedocs.io
- https://github.com/inventree/InvenTree
version: 1.0.0
annotations:
truecharts.org/catagories: |
- utilities
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+39
View File
@@ -0,0 +1,39 @@
# Introduction
InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking.
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://inventree.readthedocs.io>
* <https://github.com/inventree/InvenTree>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | postgresql | 7.0.79 |
| https://library-charts.truecharts.org | common | 9.3.19 |
## 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
+381
View File
@@ -0,0 +1,381 @@
# Include{groups}
portals:
open:
protocols:
- "$kubernetes-resource_configmap_portal_protocol"
host:
- "$kubernetes-resource_configmap_portal_host"
ports:
- "$kubernetes-resource_configmap_portal_port"
questions:
- variable: portal
group: "Container Image"
label: "Configure Portal Button"
schema:
type: dict
hidden: true
attrs:
- variable: enabled
label: "Enable"
description: "enable the portal button"
schema:
hidden: true
editable: false
type: boolean
default: true
# Include{global}
- variable: controller
group: "Controller"
label: ""
schema:
additional_attrs: true
type: dict
attrs:
- variable: advanced
label: "Show Advanced Controller Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: type
description: "Please specify type of workload to deploy"
label: "(Advanced) Controller Type"
schema:
type: string
default: "deployment"
required: true
enum:
- value: "deployment"
description: "Deployment"
- value: "statefulset"
description: "Statefulset"
- value: "daemonset"
description: "Daemonset"
- variable: replicas
description: "Number of desired pod replicas"
label: "Desired Replicas"
schema:
type: int
default: 1
required: true
- variable: strategy
description: "Please specify type of workload to deploy"
label: "(Advanced) Update Strategy"
schema:
type: string
default: "Recreate"
required: true
enum:
- value: "Recreate"
description: "Recreate: Kill existing pods before creating new ones"
- value: "RollingUpdate"
description: "RollingUpdate: Create new pods and then kill old ones"
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: secret
group: "Container Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: INVENTREE_ADMIN_EMAIL
label: "INVENTREE_ADMIN_EMAIL (Initial install only)"
schema:
type: string
required: true
default: ""
- variable: INVENTREE_ADMIN_USER
label: "INVENTREE_ADMIN_USER (Initial install only)"
schema:
type: string
required: true
default: ""
- variable: INVENTREE_ADMIN_PASSWORD
label: "INVENTREE_ADMIN_PASSWORD (Initial install only)"
schema:
type: string
required: true
private: true
default: ""
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: INVENTREE_LOGIN_CONFIRM_DAYS
label: 'INVENTREE_LOGIN_CONFIRM_DAYS'
description: "Duration for which confirmation links are valid"
schema:
type: int
default: 3
- variable: INVENTREE_LOGIN_ATTEMPTS
label: 'INVENTREE_LOGIN_ATTEMPTS'
description: "Count of allowed login attempts before blocking user"
schema:
type: int
default: 5
- variable: INVENTREE_PLUGINS_ENABLED
label: 'INVENTREE_PLUGINS_ENABLED'
description: "Enable plugin support"
schema:
type: boolean
default: false
- variable: INVENTREE_DEBUG
label: 'INVENTREE_DEBUG'
description: "Enable debug mode"
schema:
type: boolean
default: false
- variable: INVENTREE_LOG_LEVEL
label: 'INVENTREE_LOG_LEVEL'
description: "Set level of logging to terminal"
schema:
type: string
default: "INFO"
enum:
- value: "INFO"
description: "INFO"
- value: "DEBUG"
description: "DEBUG"
- value: "WARNING"
description: "WARNING"
- value: "ERROR"
description: "ERROR"
- value: "CRITICAL"
description: "CRITICAL"
# Include{containerConfig}
- variable: service
group: "Networking and Services"
label: "Configure Service(s)"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelector}
- variable: main
label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10231
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "HTTP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 8000
- variable: serviceexpert
group: "Networking and Services"
label: "Show Expert Config"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: hostNetwork
group: "Networking and Services"
label: "Host-Networking (Complicated)"
schema:
type: boolean
default: false
# Include{serviceExpert}
# Include{serviceList}
- variable: persistence
label: "Integrated Persistent Storage"
description: "Integrated Persistent Storage"
group: "Storage and Persistence"
schema:
additional_attrs: true
type: dict
attrs:
- variable: data
label: "App Data Storage"
description: "Stores the Application Data."
schema:
additional_attrs: true
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
# Include{persistenceList}
- variable: ingress
label: ""
group: "Ingress"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
# Include{ingressList}
# Include{security}
- variable: advancedSecurity
label: "Show Advanced Security Settings"
group: "Security and Permissions"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: securityContext
label: "Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: privileged
label: "Privileged mode"
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: true
# Include{securityContextAdvanced}
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 100
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{podSecurityContextAdvanced}
# Include{resources}
# Include{advanced}
# Include{addons}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,20 @@
{{/* Define the secrets */}}
{{- define "inventree.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: inventree-secrets
{{- $inventreeprevious := lookup "v1" "Secret" .Release.Namespace "inventree-secrets" }}
{{- $secret_key := "" }}
data:
{{- if $inventreeprevious}}
INVENTREE_SECRET_KEY: {{ index $inventreeprevious.data "INVENTREE_SECRET_KEY" }}
{{- else }}
{{- $secret_key := randAlphaNum 32 }}
INVENTREE_SECRET_KEY: {{ $secret_key | b64enc }}
{{- end }}
{{- end -}}
@@ -0,0 +1,22 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "inventree.harcodedValues" -}}
persistence:
inventree-config:
enabled: "true"
mountPath: "/etc/nginx/nginx.conf"
subPath: "nginx-confing"
type: "custom"
volumeSpec:
configMap:
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "inventree.harcodedValues" . | fromYaml) -}}
{{/* Render secrets for inventree */}}
{{- include "inventree.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}
@@ -0,0 +1,69 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}-config
labels:
{{- include "common.labels" . | nindent 4 }}
data:
nginx-config: |-
server {
# Listen for connection on (internal) port 80
listen 10231;
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;
# Change 'inventree-server' to the name of the inventree server container,
# and '8000' to the INVENTREE_WEB_PORT (if not default)
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;
}
}
+184
View File
@@ -0,0 +1,184 @@
image:
repository: tccr.io/truecharts/inventree
tag: v0.7.0@sha256:ea33330ff9f4c99e4280a7e908a1c66db652d324859b84fbec0eca81a92b54d0
pullPolicy: IfNotPresent
nginxImage:
repository: tccr.io/truecharts/nginx
tag: v1.22.0@sha256:271b9a37da0e829de22bd15074ebaa4084e9a107848956301e2222feb96bec49
securityContext:
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 100
runAsGroup: 0
secret:
INVENTREE_ADMIN_EMAIL: "test@example.com"
INVENTREE_ADMIN_USER: "super"
INVENTREE_ADMIN_PASSWORD: "secret"
env:
INVENTREE_DB_ENGINE: "postgresql"
INVENTREE_DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
INVENTREE_DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
INVENTREE_DB_PORT: "5432"
INVENTREE_TIMEZONE: "{{ .Values.TZ }}"
# User Defined
INVENTREE_DEBUG: false
INVENTREE_LOG_LEVEL: "INFO"
INVENTREE_PLUGINS_ENABLED: false
INVENTREE_LOGIN_CONFIRM_DAYS: 3
INVENTREE_LOGIN_ATTEMPTS: 5
envValueFrom:
INVENTREE_DB_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
INVENTREE_DB_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
INVENTREE_SECRET_KEY:
secretKeyRef:
name: inventree-secrets
key: INVENTREE_SECRET_KEY
service:
main:
ports:
main:
port: 10231
targetPort: 10231
persistence:
data:
enabled: true
mountPath: "/home/inventree/data"
initContainers:
init-migrate:
name: init-migrate
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
volumeMounts:
- name: data
mountPath: "/home/inventree/data"
env:
- name: INVENTREE_TIMEZONE
value: "{{ .Values.TZ }}"
- name: INVENTREE_DB_ENGINE
value: "postgresql"
- name: INVENTREE_DB_NAME
value: "{{ .Values.postgresql.postgresqlDatabase }}"
- name: INVENTREE_DB_USER
value: "{{ .Values.postgresql.postgresqlUsername }}"
- name: INVENTREE_DB_PORT
value: "5432"
- name: INVENTREE_DB_HOST
valueFrom:
secretKeyRef:
name: dbcreds
key: plainhost
- name: INVENTREE_DB_PASSWORD
valueFrom:
secretKeyRef:
name: dbcreds
key: postgresql-password
- name: INVENTREE_SECRET_KEY
valueFrom:
secretKeyRef:
name: inventree-secrets
key: INVENTREE_SECRET_KEY
- name: INVENTREE_LOG_LEVEL
value: "{{ .Values.env.INVENTREE_LOG_LEVEL }}"
- name: INVENTREE_DEBUG
value: "{{ .Values.env.INVENTREE_DEBUG }}"
- name: INVENTREE_LOGIN_CONFIRM_DAYS
value: "{{ .Values.env.INVENTREE_LOGIN_CONFIRM_DAYS }}"
- name: INVENTREE_LOGIN_ATTEMPTS
value: "{{ .Values.env.INVENTREE_LOGIN_ATTEMPTS }}"
- name: INVENTREE_PLUGINS_ENABLED
value: "{{ .Values.env.INVENTREE_PLUGINS_ENABLED }}"
command: ["sh", "-c"]
args:
- >
cd /home/inventree;
invoke update;
additionalContainers:
nginx:
name: nginx
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
ports:
- containerPort: 10231
name: main
securityContext:
runAsUser: 0
runAsGroup: 100
readOnlyRootFilesystem: false
runAsNonRoot: false
volumeMounts:
- name: inventree-config
mountPath: "/etc/nginx/conf.d/default.conf"
subPath: nginx-config
readOnly: true
- name: data
mountPath: "/var/www"
worker:
name: worker
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
command: ["invoke", "worker"]
volumeMounts:
- name: data
mountPath: "/home/inventree/data"
env:
- name: INVENTREE_ADMIN_EMAIL
value: "{{ .Values.secret.INVENTREE_ADMIN_EMAIL }}"
- name: INVENTREE_ADMIN_USER
value: "{{ .Values.secret.INVENTREE_ADMIN_USER }}"
- name: INVENTREE_ADMIN_PASSWORD
value: "{{ .Values.secret.INVENTREE_ADMIN_PASSWORD }}"
- name: INVENTREE_TIMEZONE
value: "{{ .Values.TZ }}"
- name: INVENTREE_DB_ENGINE
value: "postgresql"
- name: INVENTREE_DB_NAME
value: "{{ .Values.postgresql.postgresqlDatabase }}"
- name: INVENTREE_DB_USER
value: "{{ .Values.postgresql.postgresqlUsername }}"
- name: INVENTREE_DB_PORT
value: "5432"
- name: INVENTREE_DB_HOST
valueFrom:
secretKeyRef:
name: dbcreds
key: plainhost
- name: INVENTREE_DB_PASSWORD
valueFrom:
secretKeyRef:
name: dbcreds
key: postgresql-password
- name: INVENTREE_SECRET_KEY
valueFrom:
secretKeyRef:
name: inventree-secrets
key: INVENTREE_SECRET_KEY
- name: INVENTREE_LOG_LEVEL
value: "{{ .Values.env.INVENTREE_LOG_LEVEL }}"
- name: INVENTREE_DEBUG
value: "{{ .Values.env.INVENTREE_DEBUG }}"
- name: INVENTREE_LOGIN_CONFIRM_DAYS
value: "{{ .Values.env.INVENTREE_LOGIN_CONFIRM_DAYS }}"
- name: INVENTREE_LOGIN_ATTEMPTS
value: "{{ .Values.env.INVENTREE_LOGIN_ATTEMPTS }}"
- name: INVENTREE_PLUGINS_ENABLED
value: "{{ .Values.env.INVENTREE_PLUGINS_ENABLED }}"
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: inventree
postgresqlDatabase: inventree