Skip to content

Commit

Permalink
Ensure Pebble shuts down after webhook-certgen execution.
Browse files Browse the repository at this point in the history
Signed-off-by: Nashwan Azhari <[email protected]>
  • Loading branch information
aznashwan committed Aug 14, 2024
1 parent 968d04d commit edefd4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kube-webhook-certgen/v1.4.0/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ services:

command: /kube-webhook-certgen [ create ]

on-success: shutdown
on-failure: shutdown

user: nonroot
group: nonroot
working-dir: /
Expand Down
3 changes: 3 additions & 0 deletions kube-webhook-certgen/v1.4.1/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ services:

command: /kube-webhook-certgen [ create ]

on-success: shutdown
on-failure: shutdown

user: nonroot
group: nonroot
working-dir: /
Expand Down

0 comments on commit edefd4c

Please sign in to comment.