Skip to content

Commit

Permalink
Adds etc-ceph plug to MicroCeph
Browse files Browse the repository at this point in the history
Signed-off-by: Utkarsh Bhatt <[email protected]>
  • Loading branch information
UtkarshBhatthere committed Jul 18, 2024
1 parent 63baa3f commit 1c7707d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -52,6 +58,7 @@ apps:
- mount-observe
- network
- network-bind
- etc-ceph
slots:
- microceph
mds:
Expand Down

0 comments on commit 1c7707d

Please sign in to comment.