AKS-CI fix (3rd try!): delete epinio-copier pod
On AKS-CI there is an error with the PV multi-attachement, so it's
better to delete epinio-copier pod before patching epinio-server.
@@ -97,6 +97,9 @@ kubectl exec -i -n epinio -c copier epinio-copier -- mv "$(basename "${EPINIO_BI
kubectl exec -i -n epinio -c copier epinio-copier -- chmod ugo+x epinio/epinio
kubectl exec -i -n epinio -c copier epinio-copier -- ls -l epinio
+echo "Deleting the epinio-copier to avoid multi-attach issue between pods"
+kubectl delete pod -n epinio epinio-copier
+
# https://stackoverflow.com/a/5773761
EPINIO_BINARY_HASH=($(shasum ${EPINIO_BINARY_PATH}))
