Open bene-tleilax-werdna opened 3 months ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Staff here isn't going to be a lot of help, I'm sure, since we don't use K8s, but I'll leave this open in case any other docker/Kubernetes folks want to chime in.
Is your feature request related to a problem? Please describe.
The provided documentation on how to set a schedule for LDAP syncing is really not applicable to running Snipe-IT in a k8s pod or container given the ephemeral nature of a pod.
Source: https://snipe-it.readme.io/docs/ldap-sync
In a k8s environment, this means that you would need to exec into a pod and set this every time a pod is spun up by k8s. That's just not going to happen and defeats the purpose of running an app in k8s.
I have yet to see a good solution to this issue that isn't a hacky work-around.
Describe the solution you'd like
Either the ability to set a recurring schedule for LDAP sync within the web UI or alternatively, the ability to set a this via an environment variable or command spec that could be integrated into a Snipe-IT k8s deployment.
Describe alternatives you've considered
No response
Additional context
I know this issue has come up before and I don't mean to spam the community with this request but this limitation is somewhat frustrating in practice and it would be nice to have some sort of definitive resolution. Unfortunately, I don't have much knowledge of PHP to be able to contribute to finding a solution to this, so my apologies in advance for not being part of the solution here. I appreciate everyone's help! :)