Skip to content
Snippets Groups Projects
Commit 3b3302bf authored by Marco Voelz's avatar Marco Voelz
Browse files

Fix cert generation for VPA 1.2.2 when running vpa-up.sh

parent d1eaa1fa
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ fi ...@@ -63,7 +63,7 @@ fi
for i in $COMPONENTS; do for i in $COMPONENTS; do
if [ $i == admission-controller-deployment ] ; then 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) (bash ${SCRIPT_ROOT}/pkg/admission-controller/gencerts.sh || true)
elif [ ${ACTION} == delete ] ; then elif [ ${ACTION} == delete ] ; then
(bash ${SCRIPT_ROOT}/pkg/admission-controller/rmcerts.sh || true) (bash ${SCRIPT_ROOT}/pkg/admission-controller/rmcerts.sh || true)
......
...@@ -26,4 +26,4 @@ if [ "${TAG_TO_APPLY}" == "${DEFAULT_TAG}" ]; then ...@@ -26,4 +26,4 @@ if [ "${TAG_TO_APPLY}" == "${DEFAULT_TAG}" ]; then
git switch --detach vertical-pod-autoscaler-${DEFAULT_TAG} git switch --detach vertical-pod-autoscaler-${DEFAULT_TAG}
fi fi
$SCRIPT_ROOT/hack/vpa-process-yamls.sh create $* $SCRIPT_ROOT/hack/vpa-process-yamls.sh apply $*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment