minio / kes

Key Managament Server for Object Storage and more
https://min.io/docs/kes/concepts/
GNU Affero General Public License v3.0
456 stars 94 forks source link

set cache default values as documented #460

Closed aead closed 4 months ago

aead commented 4 months ago

This commit fixes a bug in the cache configuration logic. As documented in https://github.com/minio/kes/blob/master/server-config.yaml#L147 KES is supposed to apply a default KES configuration when none is provided.

With this commit, a KES server (started via the kes server command) applies a default cache config, if none is set. The kes/kesconf package does not implement the default configuration since we don't want to modify the user input at this level.