]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: rm podman-auth.json if removing last cluster 55588/head
authorAdam King <adking@redhat.com>
Wed, 14 Feb 2024 17:02:09 +0000 (12:02 -0500)
committerAdam King <adking@redhat.com>
Wed, 14 Feb 2024 18:16:36 +0000 (13:16 -0500)
commitd203a97e1bf1e06433365ea38e3ab2b6430cefff
tree8e387a60a2848d5c21bd771e2496ba7f323deea7
parenteb47ec72d7946d62cfd64da71885e479c19f5c56
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>
src/cephadm/cephadm.py