mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 15:39:02 +00:00
[paperless] Add hhtp(s) prefix to PAPERLESS_URL (#1547)
This commit is contained in:
parent
c0e176fcb9
commit
405da28cd3
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: ngx-1.7.0
|
||||
description: Paperless - Index and archive all of your scanned paper documents
|
||||
name: paperless
|
||||
version: 8.7.0
|
||||
version: 8.7.1
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- paperless
|
||||
@ -30,5 +30,5 @@ dependencies:
|
||||
condition: redis.enabled
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: added
|
||||
description: Set PAPERLESS_URL automatically
|
||||
- kind: changed
|
||||
description: Fix PAPERLESS_URL default to include http(s)
|
||||
|
@ -1,6 +1,6 @@
|
||||
# paperless
|
||||
|
||||
![Version: 8.7.0](https://img.shields.io/badge/Version-8.7.0-informational?style=flat-square) ![AppVersion: ngx-1.7.0](https://img.shields.io/badge/AppVersion-ngx--1.7.0-informational?style=flat-square)
|
||||
![Version: 8.7.1](https://img.shields.io/badge/Version-8.7.1-informational?style=flat-square) ![AppVersion: ngx-1.7.0](https://img.shields.io/badge/AppVersion-ngx--1.7.0-informational?style=flat-square)
|
||||
|
||||
Paperless - Index and archive all of your scanned paper documents
|
||||
|
||||
@ -96,15 +96,15 @@ N/A
|
||||
|
||||
## Changelog
|
||||
|
||||
### Version 8.7.0
|
||||
### Version 8.7.1
|
||||
|
||||
#### Added
|
||||
|
||||
* Set PAPERLESS_URL automatically
|
||||
N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
N/A
|
||||
* Fix PAPERLESS_URL default to include http(s)
|
||||
|
||||
#### Fixed
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
{{/* Append the hardcoded settings */}}
|
||||
{{- define "paperless.harcodedValues" -}}
|
||||
env:
|
||||
PAPERLESS_URL: {{ (first .Values.ingress.main.hosts).host }}
|
||||
PAPERLESS_URL: http{{if ne ( len .Values.ingress.main.tls ) 0 }}s{{end}}://{{ (first .Values.ingress.main.hosts).host }}
|
||||
{{- end -}}
|
||||
{{- $_ := merge .Values (include "paperless.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user