]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add --no-exception-when-missing flag to cert-store cert/key get 59935/head
authorAdam King <adking@redhat.com>
Wed, 18 Sep 2024 15:25:20 +0000 (11:25 -0400)
committerAdam King <adking@redhat.com>
Mon, 23 Sep 2024 15:52:40 +0000 (11:52 -0400)
commit652fff986dc346203572675e953cd5979d7f6682
tree7736f1be559d25a7971c8f97f11aadd959ddbbf2
parent1108cc993b0ae058a58aa267d18f607a05fe0e31
mgr/cephadm: add --no-exception-when-missing flag to cert-store cert/key get

This is mostly intended for automation that wants to check
for these certificates and handle the results themselves.
Without this flag an exception will be logged which isn't
great for automation tools that may check for this repeatedly

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit c187b0d6e22e7b6b42e11572be358b31759d9f6b)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py