]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: rm podman-auth.json if removing last cluster 56319/head
authorAdam King <adking@redhat.com>
Wed, 14 Feb 2024 17:02:09 +0000 (12:02 -0500)
committerAdam King <adking@redhat.com>
Tue, 19 Mar 2024 20:33:33 +0000 (16:33 -0400)
commit42aa4f4fd2c8768721eb46b5c63b2004274f8e53
treee26a6c967e8d0c0b3a1eeae994d0e7ed93191405
parent9a60fb266b29ae8de34aab7f40debd9834be80b2
cephadm: rm podman-auth.json if removing last cluster

We have points in rm-cluster where we check that
there are no other clusters on the host. If that
is the case, we can also clear /etc/ceph/podman-auth.json
which gets written out when we log in to a registry
while using podman

Fixes: https://tracker.ceph.com/issues/64433
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit d203a97e1bf1e06433365ea38e3ab2b6430cefff)
src/cephadm/cephadm.py