Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/61037.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added the ``etcd3`` minion data cache backend (:mod:`salt.cache.etcd3_cache <salt.cache.etcd3_cache>`) for the etcd v3 API. Each entry is stored as a single etcd key, ``expires`` is honoured natively via etcd leases (so :mod:`salt.auth` tokens are reaped by etcd rather than lingering until a manual flush), and ``list``/``contains`` follow :mod:`salt.cache.localfs` semantics. Enable with ``cache: etcd3`` on the master; requires the ``etcd3-py`` library.
1 change: 1 addition & 0 deletions doc/ref/cache/all/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ For understanding and usage of the cache modules see the :ref:`cache` topic.
:template: autosummary.rst.tmpl

consul
etcd3_cache
etcd_cache
localfs
localfs_key
Expand Down
5 changes: 5 additions & 0 deletions doc/ref/cache/all/salt.cache.etcd3_cache.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
salt.cache.etcd3_cache
======================

.. automodule:: salt.cache.etcd3_cache
:members:
Loading
Loading