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:
Nicolas Degory
2021-08-29 09:24:59 -07:00
co-authored by Richard Wall
parent 6549344e47
commit d2209df85a
2 changed files with 2 additions and 6 deletions
@@ -26,6 +26,7 @@ spec:
allowedCapabilities: [] # default set of capabilities are implicitly allowed
volumes:
- 'projected'
- 'secret'
hostNetwork: false
hostIPC: false
hostPID: false
+1 -6
View File
@@ -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