Skip to content

Commit

Permalink
OpenShiftP-237: removed kubeconfig assumption
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Nov 1, 2024
1 parent ed1f42e commit 7d8dfbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ansible/post/files/mount_etcd_ext_volume.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ done
#Volume Attachment done. Time for etcd migration
sleep 30s
echo "Going for mc-update-file"
oc apply -f 98-master-lib-etcd-mc.yaml --kubeconfig=auth/kubeconfig
oc apply -f 98-master-lib-etcd-mc.yaml
# adding a sleep 30 here is not harmful or causing unnecessary delays.
sleep 30
echo "Waiting on the mcp/master to update"
oc wait --for=condition=updated mcp/master --timeout=50m --kubeconfig=auth/kubeconfig
oc wait --for=condition=updated mcp/master --timeout=50m
echo "etcd migration done successfully."

#etcd migration done Verification start
Expand Down
4 changes: 2 additions & 2 deletions scripts/etcd-mount/mount_etcd_ext_volume.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ done
#Volume Attachment done. Time for etcd migration
sleep 30s
echo "Going for mc-update-file"
oc apply -f 98-master-lib-etcd-mc.yaml --kubeconfig=auth/kubeconfig
oc apply -f 98-master-lib-etcd-mc.yaml
# adding a sleep 30 here is not harmful or causing unnecessary delays.
sleep 30
echo "Waiting on the mcp/master to update"
oc wait --for=condition=updated mcp/master --timeout=50m --kubeconfig=auth/kubeconfig
oc wait --for=condition=updated mcp/master --timeout=50m

echo "etcd migration done successfully."
#etcd migration done Verification start
Expand Down

0 comments on commit 7d8dfbc

Please sign in to comment.