mirror of
https://github.com/wahyd4/cert-manager.git
synced 2026-08-09 05:06:38 +10:00
Apply suggestions from code review
Co-authored-by: Richard Wall <wallrj@users.noreply.github.com> Signed-off-by: Nicolas Degory <nicolas.degory@gmail.com>
This commit is contained in:
co-authored by
Richard Wall
parent
6549344e47
commit
d2209df85a
@@ -26,6 +26,7 @@ spec:
|
||||
allowedCapabilities: [] # default set of capabilities are implicitly allowed
|
||||
volumes:
|
||||
- 'projected'
|
||||
- 'secret'
|
||||
hostNetwork: false
|
||||
hostIPC: false
|
||||
hostPID: false
|
||||
|
||||
@@ -18,17 +18,12 @@ set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
readonly REPO_ROOT=$(git rev-parse --show-toplevel)
|
||||
|
||||
chart_dir="deploy/charts/cert-manager"
|
||||
|
||||
echo "Linting chart: ${chart_dir}"
|
||||
|
||||
bazel build //deploy/charts/cert-manager
|
||||
case $(uname) in
|
||||
Darwin) tmpdir="$(mktemp -d)";;
|
||||
*) tmpdir="$(mktemp -d -p "${REPO_ROOT}")";;
|
||||
esac
|
||||
tmpdir="$(mktemp -d)"
|
||||
trap "rm -rf ${tmpdir}" EXIT
|
||||
|
||||
tar -C "${tmpdir}" -xvf bazel-bin/deploy/charts/cert-manager/cert-manager.tgz
|
||||
|
||||
Reference in New Issue
Block a user