diff --git a/charts/paperless-ngx/Chart.yaml b/charts/paperless-ngx/Chart.yaml index 9d127d2..542bffe 100644 --- a/charts/paperless-ngx/Chart.yaml +++ b/charts/paperless-ngx/Chart.yaml @@ -4,7 +4,7 @@ description: | document management system that transforms your physical documents into a searchable online archive appVersion: 2.7.0 type: application -version: 0.1.6 +version: 0.1.7 maintainers: - name: Tommy Skaug email: tommy@skaug.me diff --git a/charts/paperless-ngx/templates/deployment-server.yaml b/charts/paperless-ngx/templates/deployment-server.yaml index e479724..f725ced 100644 --- a/charts/paperless-ngx/templates/deployment-server.yaml +++ b/charts/paperless-ngx/templates/deployment-server.yaml @@ -35,9 +35,7 @@ spec: - secretRef: name: {{ .Values.envFromSecret }} resources: - limits: - memory: "128Mi" - cpu: "500m" + {{- toYaml .Values.resources | nindent 10 }} ports: - containerPort: 80 name: http diff --git a/charts/paperless-ngx/values.yaml b/charts/paperless-ngx/values.yaml index 0e7403c..cbfaea6 100644 --- a/charts/paperless-ngx/values.yaml +++ b/charts/paperless-ngx/values.yaml @@ -25,3 +25,11 @@ image: postgres: secretName: paperless-ngx-secret + +resources: + limits: + memory: "3Gi" + cpu: "1000m" +# requests: +# cpu: 100m +# memory: 250Mi