Skip to content

kresd: Update config template for control path, cache, keys and prom

micah requested to merge kresd_template_updates into main

. set distinct cache location and control path location Persisting the control sockets was causing errors when the container experienced unclean shutdowns. Placing it under /run will cause the orphaned sockets to be cleaned up properly in this scenario.

. Explicitly set the location of the cache directory.

. Explicitly set the location of the TA root.keys file make this file be something that can be updated dynamically by kresd (requires the newer container that adds the dependencies on lua-socket).

. Set the prometheus namespace This way metrics are scoped by their hostname, and you can distinguish between the different ones.

Merge request reports