diff --git a/changelog/10424.txt b/changelog/10424.txt new file mode 100644 index 000000000..df4d9cfdc --- /dev/null +++ b/changelog/10424.txt @@ -0,0 +1,3 @@ +```release-note:bug +license: Fix license caching issue that prevents new licenses to get picked up by the license manager +``` diff --git a/sdk/physical/cache.go b/sdk/physical/cache.go index 6afd6088e..f48985844 100644 --- a/sdk/physical/cache.go +++ b/sdk/physical/cache.go @@ -29,6 +29,7 @@ var cacheExceptionsPaths = []string{ "sys/expire/", "core/poison-pill", "core/raft/tls", + "core/license", } // CacheRefreshContext returns a context with an added value denoting if the diff --git a/vendor/github.com/hashicorp/vault/sdk/physical/cache.go b/vendor/github.com/hashicorp/vault/sdk/physical/cache.go index 6afd6088e..f48985844 100644 --- a/vendor/github.com/hashicorp/vault/sdk/physical/cache.go +++ b/vendor/github.com/hashicorp/vault/sdk/physical/cache.go @@ -29,6 +29,7 @@ var cacheExceptionsPaths = []string{ "sys/expire/", "core/poison-pill", "core/raft/tls", + "core/license", } // CacheRefreshContext returns a context with an added value denoting if the