Skip to content

Commit 44c1781

Browse files
chmouelsavitaashture
authored andcommitted
No need to restart pod after config with ko
and move it to its own flag
1 parent 793068c commit 44c1781

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

hack/dev/kind/install.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ main() {
202202
echo "And we are done :): "
203203
}
204204

205-
while getopts "Ggpcrb" o; do
205+
while getopts "RGgpcrb" o; do
206206
case "${o}" in
207207
b)
208208
start_registry
@@ -217,10 +217,13 @@ while getopts "Ggpcrb" o; do
217217
;;
218218
p)
219219
install_pac
220-
echo "Restarting controller POD: "
221-
kubectl delete pod -l app.kubernetes.io/part-of=pipelines-as-code -n pipelines-as-code || true
222220
exit
223221
;;
222+
R)
223+
224+
echo "Restarting pac pods"
225+
kubectl delete pod -l app.kubernetes.io/part-of=pipelines-as-code -n pipelines-as-code || true
226+
;;
224227
r)
225228
INSTALL_FROM_RELEASE=yes
226229
;;

0 commit comments

Comments
 (0)