You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"Please execute the script only from the root directory of the Postgres opepator repo."
216
+
echo"Please execute the script only from the root directory of the Postgres operator repo."
193
217
exit 1
194
218
fi
195
219
196
220
trap"echo 'If you observe issues with minikube VM not starting/not proceeding, consider deleting the .minikube dir and/or rebooting before re-running the script'" EXIT
197
221
198
-
local should_build_custom_operator=false # used in start_operator()
222
+
local should_build_custom_operator=false
223
+
local should_deploy_pg_to_namespace_test=false
224
+
local should_replace_operator_image=false
225
+
199
226
whiletrue
200
227
do
201
228
# if the 1st param is unset, use the empty string as a default value
@@ -204,19 +231,32 @@ function main(){
204
231
display_help
205
232
exit 0
206
233
;;
207
-
-r | --rebuild-operator)
234
+
-r | --rebuild-operator)# with minikube restart
208
235
should_build_custom_operator=true
209
236
break
210
237
;;
238
+
-n | --deploy-new-operator-image) # without minikube restart that takes minutes
239
+
should_replace_operator_image=true
240
+
break
241
+
;;
242
+
-t | --deploy-pg-to-namespace-test) # to test multi-namespace support locally
0 commit comments