We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0ba971 + e150df5 commit 88309f1Copy full SHA for 88309f1
1 file changed
script/shell.sh
@@ -65,6 +65,14 @@ if [ -z "$env" ]; then
65
usage
66
exit 1
67
fi
68
+if [ "$env" == "production" ]; then
69
+ echo "You are trying to shell into a production container NOT Data-Replication. If you wish to proceed type 'production':"
70
+ read -r confirm
71
+ if [ "$confirm" != "production" ]; then
72
+ echo "Validation failed. Exiting without shelling into production container."
73
+ exit 1
74
+ fi
75
+fi
76
77
cluster_name="mavis-$env"
78
0 commit comments