https://www.ory.sh/ logo
#talk-oathkeeper
Title
# talk-oathkeeper
c

cuddly-city-78540

03/15/2022, 12:25 PM
Hi all. Is there any way to apply new rules during runtime, or does it always do a read-once on boot and that’s it? I want to use a third party in our network to provide rules for our multiple apps to oathkeeper as they come online; think how traefik does it with container labels. Is this even possible?
d

damp-sunset-69236

03/15/2022, 12:42 PM
Hello. It depends on your configuration but oathkeeper applies rules easily once you change them. You don’t need to restart oathkeeper to apply new rules
At least it works fine when you edit current configuration. Oathkeeper supports hot-reload
c

cuddly-city-78540

03/15/2022, 5:10 PM
That’s great to know, thanks @User. I read the following from the docs “_Locations (list of URLs) where access rules should be fetched from on boot._” and took it quite literally.
d

damp-sunset-69236

03/15/2022, 6:49 PM
I found that filewatchers works for local file system. I’m not sure that they work on remote based configurations
c

cuddly-city-78540

03/16/2022, 12:06 PM
Thanks, I’ll bear that in mind. I may prepare an instance per app in actuality, as it would probably be easier.
6 Views