Skip to content

Commit

Permalink
Merge pull request #7704 from voelzmo/fix/gencert-on-vpa-up-for-vpa-1.2
Browse files Browse the repository at this point in the history
Fix cert generation for VPA 1.2.2 when running vpa-up.sh
  • Loading branch information
k8s-ci-robot authored Jan 16, 2025
2 parents d1eaa1f + 3b3302b commit fcf5dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/hack/vpa-process-yamls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fi

for i in $COMPONENTS; do
if [ $i == admission-controller-deployment ] ; then
if [ ${ACTION} == create ] ; then
if [ ${ACTION} == create || ${ACTION} == apply ] ; then
(bash ${SCRIPT_ROOT}/pkg/admission-controller/gencerts.sh || true)
elif [ ${ACTION} == delete ] ; then
(bash ${SCRIPT_ROOT}/pkg/admission-controller/rmcerts.sh || true)
Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/hack/vpa-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ if [ "${TAG_TO_APPLY}" == "${DEFAULT_TAG}" ]; then
git switch --detach vertical-pod-autoscaler-${DEFAULT_TAG}
fi

$SCRIPT_ROOT/hack/vpa-process-yamls.sh create $*
$SCRIPT_ROOT/hack/vpa-process-yamls.sh apply $*

0 comments on commit fcf5dfb

Please sign in to comment.