fix(inventree): update nginx.conf mount method (#3656)

* fix(inventree): attempt to fix login errors

* hmm

* hmm

* mountpath

* hmmm

* ?!

* hmm

* remove mountPath

* remove RO

* try subPath

* try type configMap

* read content

* try wger too

* remove cmd
This commit is contained in:
Stavros Kois
2022-09-03 11:01:51 +03:00
committed by GitHub
parent b8c8523b85
commit ab8f8e2679
6 changed files with 26 additions and 25 deletions
+4 -6
View File
@@ -6,6 +6,7 @@ image:
nginxImage:
repository: tccr.io/truecharts/nginx
tag: v1.23.1@sha256:1620254cd011e2b81361f1f4682fd6cceadf13b07f8e37f322b60407d6d5a766
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
@@ -53,13 +54,10 @@ persistence:
enabled: true
mountPath: "/home/inventree/data"
inventree-nginx:
enabled: "true"
enabled: true
noMount: true
subPath: "nginx.conf"
type: "custom"
volumeSpec:
configMap:
name: '{{ include "tc.common.names.fullname" . }}-inventree-config'
type: configMap
objectName: '{{ include "tc.common.names.fullname" . }}-inventree-config-nginx'
postgresql:
enabled: true