Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need observe interfaces on the snap to prevent apparmor errors #23

Merged
merged 1 commit into from
Oct 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: juju-db
version: '4.0.23'
version: '4.0.27'
summary: MongoDB object/document oriented database used internally by Juju.
description: |
MongoDB object/document oriented database used internally by Juju.
Expand All @@ -16,12 +16,16 @@ apps:
daemon: simple
plugs:
- network-bind
- network-observe
- system-observe

mongod:
command: mongod
plugs:
- network
- network-bind
- network-observe
- system-observe

mongo:
command: mongo
Expand Down Expand Up @@ -57,7 +61,7 @@ parts:
mongo-tools:
source: https://github.com/mongodb/mongo-tools
source-type: git
source-tag: "r4.0.23"
source-tag: "r4.0.27"
plugin: go
build-packages:
- gcc
Expand Down Expand Up @@ -86,7 +90,7 @@ parts:
after: [mongo-tools]
source: https://github.com/mongodb/mongo
source-type: git
source-tag: "r4.0.23"
source-tag: "r4.0.27"
plugin: scons
stage-packages:
- libssl1.1
Expand Down