Closed clyso-dr closed 2 years ago
Basically it should be possible. I see just one little problem.
An additional composer package needs to be installed in the kimai2 installation. So the official image should have it installed or there user will be forced to use a custom image.
Ok. I just found that the official docker image ships with LDAP support.
I will take o look into this.
@clyso-dr Please try to use the configuration
field in values.yaml
like this.
configuration: |-
monolog:
handlers:
main:
path: php://stderr
ldap:
activate: true
connection:
host: <you_ldap_host>
user:
baseDn: ou=users, dc=kimai, dc=org
role:
baseDn: ou=groups, dc=kimai, dc=org
Is not working, but the problem I think is not the config:
[ERROR] There is no extension able to load the configuration for "ldap" (in
--
2022-01-17 09:15:27 | 2022-01-17T08:15:27.505497777Z stdout F "/opt/kimai/config/packages/local.yaml"). Looked for namespace "ldap",
2022-01-17 09:15:27 | 2022-01-17T08:15:27.505500917Z stdout F found ""framework", "doctrine", "doctrine_migrations",
2022-01-17 09:15:27 | 2022-01-17T08:15:27.505515718Z stdout F "sensio_framework_extra", "monolog", "twig", "security", "admin_lte",
2022-01-17 09:15:27 | 2022-01-17T08:15:27.505518778Z stdout F "jms_serializer", "fos_rest", "nelmio_api_doc", "nelmio_cors",
2022-01-17 09:15:27 | 2022-01-17T08:15:27.505521458Z stdout F "webpack_encore", "twig_extra", "handcraftedinthealps_rest_routing",
2022-01-17 09:15:27 | 2022-01-17T08:15:27.505523918Z stdout F "kimai"" in /opt/kimai/config/packages/local.yaml (which is loaded in
2022-01-17 09:15:27 | 2022-01-17T08:15:27.505526008Z stdout F resource "/opt/kimai/config/packages/local.yaml").
I tried also the images "apache-1.15.6-dev" and "apache-1.16.9-prod". On both are the same just with the difference that the latest prod image has also problems with the update and install of Kimai it self.
@robjuz should I open here an ticket on tobybatch's container?
Try
configuration: |-
monolog:
handlers:
main:
path: php://stderr
kimai:
ldap:
activate: true
connection:
host: <you_ldap_host>
user:
baseDn: ou=users, dc=kimai, dc=org
role:
baseDn: ou=groups, dc=kimai, dc=org
The missing "kimai:" was the key! Thanks!
Maybe you can add that commented in the values.yaml for the next one :-P
This should also fix the plugins problem!
I will add a paragraph in the Readme about this.
W dniu wt., 25.01.2022 o 08:59 D. Rieder @.***> napisał(a):
The missing "kimai:" was the key! Thanks!
Maybe you can add that commented in the values.yaml for the next one :-P
— Reply to this email directly, view it on GitHub https://github.com/robjuz/helm-charts/issues/11#issuecomment-1020904546, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFLPUGQNQ6H26KUFS2YRMDUXZJ5TANCNFSM5L4EN5UA . You are receiving this because you were mentioned.Message ID: @.***>
yes plugins are also working!
Is a LDAP integration planned for the kimai2 helm-chart? Official documentiation: https://www.kimai.org/documentation/ldap.html