Skip to content

Commit

Permalink
Fix kube-webhook-certget entrypoints.
Browse files Browse the repository at this point in the history
Signed-off-by: Nashwan Azhari <[email protected]>
  • Loading branch information
aznashwan committed Aug 19, 2024
1 parent 5cd7bba commit f637463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions kube-webhook-certgen/v1.4.0/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
# NOTE(aznashwan): simple script which sleeps for 1 second before
# exec-ing the actual kube-webhook-certgen binary:
# https://github.com/canonical/pebble/issues/240#issuecomment-1599722443
command: bash /pebble-entrypoint.sh [ create ]
command: busybox sh /pebble-entrypoint.sh [ create ]

on-success: shutdown
on-failure: shutdown
Expand Down Expand Up @@ -65,7 +65,6 @@ parts:
- login
# https://github.com/GoogleContainerTools/distroless/blob/a019fc2/base/base.bzl#L118
- libssl3
- bash
override-build: |
set -eux -o pipefail
Expand Down
3 changes: 1 addition & 2 deletions kube-webhook-certgen/v1.4.1/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
# NOTE(aznashwan): simple script which sleeps for 1 second before
# exec-ing the actual kube-webhook-certgen binary:
# https://github.com/canonical/pebble/issues/240#issuecomment-1599722443
command: bash /pebble-entrypoint.sh [ create ]
command: busybox sh /pebble-entrypoint.sh [ create ]

on-success: shutdown
on-failure: shutdown
Expand Down Expand Up @@ -65,7 +65,6 @@ parts:
- login
# https://github.com/GoogleContainerTools/distroless/blob/a019fc2/base/base.bzl#L118
- libssl3
- bash
override-build: |
set -eux -o pipefail
Expand Down

0 comments on commit f637463

Please sign in to comment.