From 1c7707da6f72048e268e87e48519b45c0654082f Mon Sep 17 00:00:00 2001 From: Utkarsh Bhatt Date: Thu, 18 Jul 2024 16:54:42 +0530 Subject: [PATCH] Adds etc-ceph plug to MicroCeph Signed-off-by: Utkarsh Bhatt --- snap/snapcraft.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 4296fd8d..2230d7d1 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -22,6 +22,12 @@ slots: read: - "$SNAP_DATA/conf" +plugs: + etc-ceph: + interface: system-files + read: /etc/ceph + write: /etc/ceph + environment: LD_LIBRARY_PATH: $SNAP/lib:$SNAP/lib/$CRAFT_ARCH_TRIPLET:$SNAP/lib/$CRAFT_ARCH_TRIPLET/ceph:$SNAP/lib:$SNAP/lib/$CRAFT_ARCH_TRIPLET:$SNAP/lib/$CRAFT_ARCH_TRIPLET/ceph:$SNAP/lib/$CRAFT_ARCH_TRIPLET/ceph/compressor:$SNAP/lib/$CRAFT_ARCH_TRIPLET/ceph/crypto:$SNAP/lib/$CRAFT_ARCH_TRIPLET/ceph/erasure-code PYTHONPATH: $SNAP/lib/python3/dist-packages @@ -52,6 +58,7 @@ apps: - mount-observe - network - network-bind + - etc-ceph slots: - microceph mds: