]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 21 Mar 2024 22:30:57 +0000 (18:30 -0400)
commitb6fa001cdb49a4db6c469bb9f80b9baee7b91ae4
tree98d1f9f101be25178382e1d0765847df6e641ef8
parent0c72fcc26a58e8693192efa92f9e7b3162518df1
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>
src/cephadm/cephadmlib/container_types.py
src/cephadm/tests/test_util_funcs.py