diff --git a/library/ix-dev/community/webdav/Chart.yaml b/library/ix-dev/community/webdav/Chart.yaml index 5c5bc50c67..38cf598645 100644 --- a/library/ix-dev/community/webdav/Chart.yaml +++ b/library/ix-dev/community/webdav/Chart.yaml @@ -4,7 +4,7 @@ description: WebDAV is a set of extensions to the HTTP protocol which allows use annotations: title: WebDAV type: application -version: 1.0.26 +version: 1.0.27 apiVersion: v2 appVersion: 2.4.59 kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/community/webdav/questions.yaml b/library/ix-dev/community/webdav/questions.yaml index c3d77ed08e..0d7d8189ca 100644 --- a/library/ix-dev/community/webdav/questions.yaml +++ b/library/ix-dev/community/webdav/questions.yaml @@ -43,6 +43,24 @@ questions: show_if: [["authType", "=", "basic"]] private: true required: true + - variable: additionalBrowserMatches + label: Additional Browser Matches + description: | + Additional browser matches for WebDAV.
+ This is useful if you want to use WebDAV with a browser + that is not supported by the default configuration.
+ Example: "^some-regex"
+ This will create the following line in the configuration file:
+ BrowserMatch "^some-regex" redirect-carefully + schema: + type: list + default: [] + items: + - variable: match + label: Match + schema: + type: string + required: true - variable: additionalEnvs label: Additional Environment Variables description: Configure additional environment variables for WebDAV. diff --git a/library/ix-dev/community/webdav/templates/_helper.tpl b/library/ix-dev/community/webdav/templates/_helper.tpl index 0bd02f9127..9175a4f629 100644 --- a/library/ix-dev/community/webdav/templates/_helper.tpl +++ b/library/ix-dev/community/webdav/templates/_helper.tpl @@ -69,7 +69,11 @@ BrowserMatch "^WebDAVFS/1.[01234]" redirect-carefully BrowserMatch "^gnome-vfs/1.0" redirect-carefully BrowserMatch "^XML Spy" redirect-carefully BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully +BrowserMatch "^DAVx5" redirect-carefully BrowserMatch " Konqueror/4" redirect-carefully +{{- range $match := .Values.webdavConfig.additionalBrowserMatches }} +BrowserMatch "{{ $match }}" redirect-carefully +{{- end }} RequestReadTimeout handshake=0 header=20-40,MinRate=500 body=20,MinRate=500 {{- end -}} diff --git a/library/ix-dev/community/webdav/values.yaml b/library/ix-dev/community/webdav/values.yaml index 7601bed9cc..add6c85be8 100644 --- a/library/ix-dev/community/webdav/values.yaml +++ b/library/ix-dev/community/webdav/values.yaml @@ -10,8 +10,9 @@ resources: webdavConfig: authType: none - username: '' - password: '' + username: "" + password: "" + additionalBrowserMatches: [] additionalEnvs: [] webdavNetwork: hostNetwork: false