(fix) Fix collabora regex and secContext, move validation docs to per app (#1078)

* Better regex on collabora

* bump collabora

* Move per-app validation to per-app docs

* Update valid_chars and allowPrivEsc on collabora

* revert bump
This commit is contained in:
Stavros Kois
2021-10-02 11:30:07 +02:00
committed by GitHub
parent 48c6245fa7
commit 6eaca24761
6 changed files with 63 additions and 52 deletions
@@ -81,11 +81,11 @@ questions:
- "definitions/timezone"
- variable: domain
label: "Domain(s) using collabora"
description: 'Use backslash "\" before dots ".". Use pipe "|" to separate multiple domains'
description: 'Use pipe "|" to separate multiple domains'
schema:
type: string
default: 'nextcloud\.domain\.tld|othernextcloud\.domain\.tld'
valid_chars: '^([a-z]{1,}\\{1}\.{1}[a-z]{1,}\\{1}\.{1}[a-z]{1,}\|{0,1})*$'
default: 'nextcloud.domain.tld|othernextcloud.domain.tld'
valid_chars: '^([a-z]{1,}\.[a-z]{1,}\.[a-z]{1,})((\|[a-z]{1,}\.[a-z]{1,}\.[a-z]{1,}))*$'
required: true
- variable: username
label: "Username for WebUI"
@@ -123,8 +123,8 @@ questions:
description: "When this environment variable is set (is not “”), then its value will be used as server name in /etc/loolwsd/loolwsd.xml. Without this, CODE is not delivering a correct host for the websocket connection in case of a proxy in front of it."
schema:
type: string
default: 'collabora\.domain\.tld'
valid_chars: '^[a-z]{1,}\\{1}\.{1}[a-z]{1,}\\{1}\.{1}[a-z]{1,}$'
default: 'collabora.domain.tld'
valid_chars: '^([a-z]{1,}\.[a-z]{1,}\.[a-z]{1,})$'
# Include{containerConfig}
- variable: service
@@ -484,7 +484,7 @@ questions:
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
default: true
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
@@ -5,6 +5,7 @@ image:
securityContext:
readOnlyRootFilesystem: false
allowPrivilegeEscalation: true
runAsNonRoot: false
podSecurityContext: