@@ -143,7 +143,7 @@ export CORTEX_ENABLE_TELEMETRY="${CORTEX_ENABLE_TELEMETRY:-""}"
143
143
144
144
function install_eks() {
145
145
echo
146
- docker run --entrypoint /root/install_eks.sh \
146
+ docker run -it - -entrypoint /root/install_eks.sh \
147
147
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
148
148
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
149
149
-e CORTEX_CLUSTER=$CORTEX_CLUSTER \
@@ -156,7 +156,7 @@ function install_eks() {
156
156
157
157
function uninstall_eks() {
158
158
echo
159
- docker run --entrypoint /root/uninstall_eks.sh \
159
+ docker run -it - -entrypoint /root/uninstall_eks.sh \
160
160
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
161
161
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
162
162
-e CORTEX_CLUSTER=$CORTEX_CLUSTER \
@@ -166,7 +166,7 @@ function uninstall_eks() {
166
166
167
167
function install_cortex() {
168
168
echo
169
- docker run --entrypoint /root/install_cortex.sh \
169
+ docker run -it - -entrypoint /root/install_cortex.sh \
170
170
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
171
171
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
172
172
-e CORTEX_CLUSTER=$CORTEX_CLUSTER \
@@ -198,7 +198,7 @@ function install_cortex() {
198
198
199
199
function uninstall_cortex() {
200
200
echo
201
- docker run --entrypoint /root/uninstall_cortex.sh \
201
+ docker run -it - -entrypoint /root/uninstall_cortex.sh \
202
202
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
203
203
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
204
204
-e CORTEX_CLUSTER=$CORTEX_CLUSTER \
@@ -209,7 +209,7 @@ function uninstall_cortex() {
209
209
210
210
function uninstall_operator() {
211
211
echo
212
- docker run --entrypoint /root/uninstall_operator.sh \
212
+ docker run -it - -entrypoint /root/uninstall_operator.sh \
213
213
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
214
214
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
215
215
-e CORTEX_CLUSTER=$CORTEX_CLUSTER \
@@ -220,7 +220,7 @@ function uninstall_operator() {
220
220
221
221
function info() {
222
222
echo
223
- docker run --entrypoint /root/info.sh \
223
+ docker run -it - -entrypoint /root/info.sh \
224
224
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
225
225
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
226
226
-e CORTEX_CLUSTER=$CORTEX_CLUSTER \
0 commit comments