Skip to content

Commit

Permalink
Sets entrypoint-service for rock (#6)
Browse files Browse the repository at this point in the history
The NFS helm chart passes additional arguments to the container image,
which should be passed to the binary itself. For this, we need to set
the entrypoint-service, so Pebble will pass the arguments to the proper
service.
  • Loading branch information
claudiubelu authored Aug 2, 2024
1 parent f12fc3e commit 0eaa434
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nfsplugin/4.7.0/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ services:
nfsplugin:
override: replace
startup: enabled
command: "/nfsplugin"
command: "/nfsplugin [ --help ]"
on-success: shutdown
on-failure: shutdown

entrypoint-service: nfsplugin

parts:
add-dependencies:
plugin: nil
Expand Down

0 comments on commit 0eaa434

Please sign in to comment.