1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-06 23:46:24 +00:00
kopano-docker/konnect/commander.yaml
Felix Bartels 52d6b18322
Further tweaks for univention app (#264)
* add option to change base path
* fix env name
* add kweb configuration for using konnect in a subpath
* make webapp display configurable
* more explicit startup messages
* add ability to use an external oidc provider
* install the grapi ldap backend in the image when building with a recent enough kopano version
* add the ability to run test in the konnect container
  * the startup script gets more and more complicated, there should be a way to test it
* test some values and add test helper
* do not simply cat the registration, but call with yq
* update kweb and konnect
2019-11-11 10:54:54 +01:00

44 lines
1.3 KiB
YAML

tests:
normal startup:
command: /commander/test-helper.sh && wrapper.sh
exit-code: 0
stdout:
contains:
- "Entrypoint: Allowing guest login"
- "--allow-client-guests"
- "Entrypoint: Allowing dynamic client registration"
- "--allow-dynamic-client-registration"
guests disabled:
command: /commander/test-helper.sh && wrapper.sh && yq . $identifier_registration_conf
stdout:
not-contains:
- "--allow-client-guests"
- "kpop-https://$FQDN/meet/"
config:
env:
allow_client_guests: no
external oidc provider:
command: /commander/test-helper.sh && wrapper.sh && yq . $identifier_registration_conf
stdout:
contains:
- '"authorities": ['
config:
env:
external_oidc_provider: yes
config:
env:
PATH: ${PATH}
eckey: ${eckey}
allow_client_guests: ${allow_client_guests}
ecparam: ${ecparam}
signing_private_key: ${signing_private_key}
KONNECT_BACKEND: ${KONNECT_BACKEND}
FQDN: ${FQDN}
identifier_registration_conf: ${identifier_registration_conf}
encryption_secret_key: ${encryption_secret_key}
identifier_scopes_conf: ${identifier_scopes_conf}
allow_dynamic_client_registration: ${allow_dynamic_client_registration}
DEBUG: ${DEBUG}
LANG: ${LANG}