Skip to content

Commit

Permalink
Comment the behaviour of gencerts
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmoisey committed Sep 24, 2024
1 parent 0acb2e9 commit dc971e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vertical-pod-autoscaler/hack/vpa-process-yamls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ fi
for i in $COMPONENTS; do
if [ $i == admission-controller-deployment ] ; then
if [ ${ACTION} == create -o ${ACTION} == update] ; then
# Allow gencerts to fail silently if certs already exist
(bash ${SCRIPT_ROOT}/pkg/admission-controller/gencerts.sh || true)
elif [ ${ACTION} == delete ] ; then
(bash ${SCRIPT_ROOT}/pkg/admission-controller/rmcerts.sh || true)
Expand Down

0 comments on commit dc971e7

Please sign in to comment.