Juju Charm - Vault secrets managment
Go to file
Martin Kalcok c84f474313 Implement cert cache for vault units (v4)
This cache is used to store certificates and keys
issued by the leader unit. Non-leader units read
these certificates and keep data in their
"tls-certificates" relations up to date.
This ensures that charm units that receive certs
from vault can read from relation data of any
vault unit and receive correct data.

This patch is mostly the same as
I18aa6c9193379ea454851b6f60a8f331ef88a980
but improved to avoid LP#1896542 by removing
the section where a certificate can be reused
from cache during create_certs.

Co-Authored-By: Rodrigo Barbieri <rodrigo.barbieri@canonical.com>
Co-Authored-By: Alex Kavanagh <alex.kavanagh@canonical.com>

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1084

Closes-Bug: #1940549
Closes-Bug: #1983269
Closes-Bug: #1845961
Related-Bug: #1896542
Change-Id: I0cca13d2042d61ffc6a7c13eccb0ec8c292020c9
(cherry picked from commit 1a1953b0ef)
2023-11-24 08:32:17 +09:00
src Implement cert cache for vault units (v4) 2023-11-24 08:32:17 +09:00
unit_tests Implement cert cache for vault units (v4) 2023-11-24 08:32:17 +09:00
.gitignore Update to build using charmcraft - stable/1.7 2022-03-16 09:08:22 +00:00
.gitreview Update to build using charmcraft - stable/1.7 2022-03-16 09:08:22 +00:00
.stestr.conf Add tox.ini for building and flake8 tests 2018-02-02 11:24:45 +00:00
.zuul.yaml Use unittest.mock instead of mock 2022-04-29 14:32:10 +01:00
bindep.txt Pin tox to < 4.0.0 2023-02-13 22:03:12 +00:00
build-requirements.txt Update to build using charmcraft - stable/1.7 2022-03-16 09:08:22 +00:00
charmcraft.yaml Switch 1.7 charmcraft and support to focal/jammy for release 2022-04-28 12:05:24 +01:00
copyright add copyright, and some information about vault 2017-06-29 09:31:13 +12:00
metadata.yaml Update to build using charmcraft - stable/1.7 2022-03-16 09:08:22 +00:00
osci.yaml Switch 1.7 charmcraft and support to focal/jammy for release 2022-04-28 12:05:24 +01:00
pip.sh Add impish bundle 2021-09-27 20:18:14 +01:00
rebuild Add impish bundle 2021-09-27 20:18:14 +01:00
rename.sh Update to build using charmcraft - stable/1.7 2022-03-16 09:08:22 +00:00
requirements.txt Pin PyYAML<5.4.0 2023-08-08 17:32:22 -04:00
test-requirements.txt Use unittest.mock instead of mock 2022-04-29 14:32:10 +01:00
tox.ini Pin PyYAML<5.4.0 2023-08-08 17:32:22 -04:00