]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add generic methods for sharing namespaces across containers
authorJohn Mulligan <jmulligan@redhat.com>
Sun, 3 Dec 2023 16:01:05 +0000 (11:01 -0500)
committerAdam King <adking@redhat.com>
Mon, 15 Apr 2024 15:01:20 +0000 (11:01 -0400)
commitfee97b12de3ad41680bc4bcde6ac855386ce4a30
tree9ec3422a90cc08b70b8033a52f7d4ff8ff738451
parent6bbc024335b2b2fac9dab0a095c37b1614814031
cephadm: add generic methods for sharing namespaces across containers

In the future, some sidecar containers will need to share namespaces
with the primary container (or each other). Make it easy to set this up
by creating a enable_shared_namespaces function and Namespace enum.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit b6fa001cdb49a4db6c469bb9f80b9baee7b91ae4)
src/cephadm/cephadmlib/container_types.py
src/cephadm/tests/test_util_funcs.py