<#5421 add support for filesystem implementation o...
# flyte-github
c
#5421 add support for filesystem implementation of token cache Pull request opened by nicktate Tracking issue Why are the changes needed? Using
keyring service
based token cache in headless environments is challenging. Many keyring implementations are tied to
GUI
interactions and proper headless configuration across different distros is very challenging. I propose we leave
keyring
as the default token cache, but enable users to opt-in for a
filesystem
based cache if desired. What changes were proposed in this pull request? • Adds a new
TokenCacheTypeFilesystem
implementation that may be configured via
root.token-cache-type
How was this patch tested? • Added a set of tests that mimic the functionality of the tests for
token_keyring_test.go
Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. flyteorg/flyte